lkml.org 
[lkml]   [2006]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Patch 6/7] Swapin page fault delays
From
Date
On Mon, 2006-02-27 at 03:22 -0500, Shailabh Nagar wrote:
> delayacct-swapin.patch
>
> Record time spent by a task waiting for its pages to be swapped in.
> This statistic can help in adjusting the rss limits of
> tasks (process), especially relative to each other, when the system is
> under memory pressure.


ok this poses a question: how do you deal with nested timings? Say an
O_SYC write which internally causes a pagefault?
delayacct_timestamp_start() at minimum has to get event-type specific,
or even implement a stack of some sorts.

-
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-02-27 09:32    [W:0.201 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site