Re: [PATCH] mm: MADV_WILLNEED implementation for anonymous memory

From: Andrew Morton
Date: Wed Jan 30 2008 - 17:43:21 EST


On Wed, 30 Jan 2008 18:28:59 +0100
Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:

> Implement MADV_WILLNEED for anonymous pages by walking the page tables and
> starting asynchonous swap cache reads for all encountered swap pages.

Why cannot this use (a perhaps suitably-modified) make_pages_present()?
--
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/