Re: [PATCH 1/6] mm: tracking shared dirty pages

From: Peter Zijlstra
Date: Tue Jun 13 2006 - 08:16:25 EST


On Tue, 2006-06-13 at 14:03 +0200, Andi Kleen wrote:
> Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> writes:
>
> > From: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> >
> > People expressed the need to track dirty pages in shared mappings.
>
> Why only shared mappings? Anonymous pages can be dirty too
> and would need to be written to swap then before making progress.

Anonymous pages are per definition dirty, as they don't have a
persistent backing store. Each eviction of an anonymous page requires IO
to swap space. On swap-in pages are removed from the swap space to make
place for other pages.

Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/