Re: [PATCH] swap usage of high memory (fwd)

From: Rik van Riel (
Date: Thu Jul 19 2001 - 12:24:12 EST

On Thu, 19 Jul 2001, Linus Torvalds wrote:

> Note that the unfair aging (apart from just being a natural requirement of
> higher allocation pressure) actually has some other advantages too: it
> ends up being aload balancing thing. Sure, it might throw out some things
> that get "unfairly" treated, but once we bring them in again we have a
> better chance of bringing them into a zone that _isn't_ under pressure.
> So unfair eviction can actually end up being a natural solution to
> different memory pressure too

Note the difference between unfair aging and unfair eviction.

Unfair eviction is needed and is no problem because with
fair aging this will lead to a large surplus of inactive
pages in less loaded zones, increasing the chances that
future allocations will end up in those zones.

Unfair aging, OTOH, throws away that information, making
it harder for the system to get the pressure across the
zones equal again.



Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

Send all your spam to (spam digging piggy)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jul 23 2001 - 21:00:12 EST