Re: [patch 17/20] non-reclaimable mlocked pages

From: Christoph Lameter
Date: Thu Dec 20 2007 - 02:19:19 EST


On Wed, 19 Dec 2007, Nick Piggin wrote:

> These mlocked pages don't need to be on a non-reclaimable list,
> because we can find them again via the ptes when they become
> unlocked, and there is no point background scanning them, because
> they're always going to be locked while they're mlocked.

But there is something to be said for having a consistent scheme. Here we
already introduce address space flags for one kind of unreclaimability.
Isnt it possible to come up with a way to categorize pages that works
(mostly) the same way for all types of pages with reclaim issues?

--
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/