]> git.hungrycats.org Git - linux/commit
[PATCH] vmscan: zone balancing fix
authorAndrew Morton <akpm@osdl.org>
Fri, 12 Mar 2004 00:23:50 +0000 (16:23 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 12 Mar 2004 00:23:50 +0000 (16:23 -0800)
commitb532f4af34f0e0f96ee32803f1e5df02d5ae06bd
tree826c56af1c113b1c2afcc8e68f05bc8cd08a4e57
parent768c4fccbdbe2d7a518e02ae680e91ca39918375
[PATCH] vmscan: zone balancing fix

We currently have a problem with the balancing of reclaim between zones: much
more reclaim happens against highmem than against lowmem.

This patch partially fixes this by changing the direct reclaim path so it
does not bale out of the zone walk after having reclaimed sufficient pages
from highmem: go on to reclaim from lowmem regardless of how many pages we
reclaimed from lowmem.
mm/vmscan.c