Re: deferred rss update instead of sloppy rss

From: Andrew Morton <akpm_at_osdl.org>
Date: 2004-11-23 09:45:07
Christoph Lameter <clameter@sgi.com> wrote:
>
> > just to prevent transient gross inaccuracies.  For some value of "16".
> 
> The page fault code only increments rss. For larger transactions that
> increase / decrease rss significantly the page_table_lock is taken and
> mm->rss is updated directly. So no
> gross inaccuracies can result.

Sure.  Take a million successive pagefaults and mm->rss is grossly
inaccurate.  Hence my suggestion that it be spilled into mm->rss
periodically.

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Nov 22 21:07:53 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:32 EST