Re: [PATCH] mm: tracking shared dirty pages -v10

Christoph Lameter
2006-06-23T17:52:08Z

On Fri, 23 Jun 2006, Peter Zijlstra wrote:

> On Fri, 2006-06-23 at 10:00 -0700, Christoph Lameter wrote:
>
> > Also Peter has made the tracking configurable. So there is a way
> > to switch it off if it is harmful for some situations.
>
> Oh?

mapping_cap_account_dirty is not a way for a fs to switch this on and off?

> > You mean anonymous pages? Anonymous pages are always dirty unless
> > you consider swap and we currently do not take account of dirty anonymous
> > pages. With swap we already have performance problems and maybe there are
> > additional issues to fix in that area. But these are secondary.
>
> I intent to make swap over NFS work next.

I am still a bit unclear on what you mean by "work." The only
issue may be to consider the amount of swap pages about to be written out
for write throttling.