Re: Priority in Memory management

From: Christoph Lameter
Date: Fri Mar 17 2006 - 12:44:13 EST


On Fri, 17 Mar 2006, Pradeep Vincent wrote:

> Instead of locking out all memory, being able to set priorities for
> virtual memory regions comes across as a better idea. This way if the
> system really really needs memory, kernel can reclaim the cache pages
> but not just because somebody is writing something and it might seem
> fair to reclaim the dataset cache.

Use the zone_reclaim feature in 2.6.16. zone reclaim will remove page
cache pages if the memory on a node gets too tight. If you are on a
non-NUMA system then light swapping will do the same.
-
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/