lkml.org 
[lkml]   [2006]   [Mar]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 29 Mar 2006 21:03:40 -0800
FromAndrew Morton <>
SubjectRe: [Patch 2/8] Block I/O, swapin delays
Shailabh Nagar <nagar@watson.ibm.com> wrote:
>
> delayacct-blkio-swapin.patch
> 
> Collect per-task block I/O delay statistics.
> 
> Unlike earlier iterations of the delay accounting
> patches, now delays are only collected for the actual
> I/O waits rather than try and cover the delays seen in
> I/O submission paths.
> 
> Account separately for block I/O delays
> incurred as a result of swapin page faults whose
> frequency can be affected by the task/process' rss limit.
> Hence swapin delays can act as feedback for rss limit changes
> independent of I/O priority changes.
> 
> ..
>
> +#define PF_SWAPIN	0x02000000	/* I am doing a swap in */
> 

Is there really no sane alternative to doing it this way?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-30 07:06    [from the cache]
©2003-2008