]> git.hungrycats.org Git - linux/commit
[PATCH] vmscan: avoid bogus throttling
authorAndrew Morton <akpm@osdl.org>
Fri, 12 Mar 2004 00:24:20 +0000 (16:24 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 12 Mar 2004 00:24:20 +0000 (16:24 -0800)
commitbcf2fb27bb108e2a022d6ae02588a79985e33b3e
treebe6e8fd3bd9865965577a76d21d62945eaab6095
parente5f02647092da2e71e63e817b912192bbd7d57b7
[PATCH] vmscan: avoid bogus throttling

- If max_scan evaluates to zero due to a very small inactive list and high
  `priority' numbers, we don't want to thrlttle yet.

- In balance_pgdat(), we may end up not scanning any pages because all
  zones happened to be above pages_high.  Avoid throttling in this case too.
mm/vmscan.c