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

From: Linus Torvalds (
Date: Thu Jul 19 2001 - 12:23:33 EST

On Thu, 19 Jul 2001, Richard Gooch wrote:
> Linus Torvalds writes:
> > 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.
> What about moving data to zones with free pages? That would save I/O.

Well, remember that we _are_ talking about pages that have been aged (just
a bit more aggressively than some other pages), and are not being used.
Dropping them may well be the right thing to do, and migrating them is
potentially very costly indeed (and can cause oscillating patterns etc

Yes, true page migration might eventually be something we have to start
thinking about for NUMA machines, but I'd really really prefer just about
any alternative. Getting a good balance would be _much_ preferable to
having to take out the sledgehammer..


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