]> git.hungrycats.org Git - linux/commit
[PATCH] vm: balance inactive zone refill rates
authorAndrew Morton <akpm@osdl.org>
Fri, 12 Mar 2004 00:25:36 +0000 (16:25 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 12 Mar 2004 00:25:36 +0000 (16:25 -0800)
commitfb5b4abea5de73406d63f60aeb455edccff8eb6e
tree84e6f12ab965baa8a227d269bece57202bd96205
parent07a257798ff40905f6cdd71f300cb2fd1f6625f6
[PATCH] vm: balance inactive zone refill rates

The current refill logic in refill_inactive_zone() takes an arbitrarily large
number of pages and chops it down to SWAP_CLUSTER_MAX*4, regardless of the
size of the zone.

This has the effect of reducing the amount of refilling of large zones
proportionately much more than of small zones.

We made this change in may 2003 and I'm damned if I remember why.  let's put
it back so we don't truncate the refill count and see what happens.
mm/vmscan.c