]> git.karo-electronics.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>
Tue, 13 Sep 2011 06:19:24 +0000 (16:19 +1000)
commit8e2d908e9c41b1717989cd0ea6156f2a533bb106
tree8a78145619d7f6bb5986aa82b564d5bf53c7540f
parent5185332ff20743df7c0ca6d2ff893ff0d950c853
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