]> git.neil.brown.name Git - history.git/commit
[PATCH] refill the inactive list more quickly
authorAndrew Morton <akpm@digeo.com>
Sun, 8 Sep 2002 05:21:55 +0000 (22:21 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 8 Sep 2002 05:21:55 +0000 (22:21 -0700)
commit5f607d6ecf03d5fc3512d2c0a2fc3d447ccd4174
tree5104f861c8d59d9fe31181ca4642ca4b10d8b6f3
parent9fdbd959bfec877913d4eab793e813cc7d447b3f
[PATCH] refill the inactive list more quickly

Fix a problem noticed by Ed Tomlinson: under shifting workloads the
shrink_zone() logic will refill the inactive load too slowly.

Bale out of the zone scan when we've reclaimed enough pages.  Fixes a
rarely-occurring problem wherein refill_inactive_zone() ends up
shuffling 100,000 pages and generally goes silly.

This needs to be revisited - we should go on and rebalance the lower
zones even if we reclaimed enough pages from highmem.
mm/vmscan.c