]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
It's possible a zone watermark is ok when entering the balance_pgdat()
authorShaohua Li <shaohua.li@intel.com>
Wed, 24 Aug 2011 23:47:04 +0000 (09:47 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Sep 2011 05:27:20 +0000 (15:27 +1000)
commit6ec581178a0d34864eba2316f94668d7f992dae6
treeebfb4158f103a602ea3a8981c5bb09814084107d
parent08dc6e351dae7b099f268b44feaac8e025ca96a5
It's possible a zone watermark is ok when entering the balance_pgdat()
loop, while the zone is within the requested classzone_idx.  Count pages
from this zone into `balanced'.  In this way, we can skip shrinking zones
too much for high order allocation.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c