Re: [PATCH/RFC 0/4] VM: Manual and Automatic page cache reclaim

Rik van Riel
2005-04-28T11:56:07Z

On Wed, 27 Apr 2005, Andrew Morton wrote:

> Is it not possible to change the page allocator's zone fallback mechanism
> so that once the local node's zones' pages are all allocated, we don't
> simply advance onto the next node? Instead, could we not perform a bit of
> reclaim on this node's zones first? Only advance onto the next nodes if
> things aren't working out?

IMHO that's the best idea. The patches posted add new
mechanisms to the VM and have the potential to disturb
LRU ordering quite a bit - which could make the VM
worse under load.

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan