From: Shaohua Li Date: Tue, 1 Nov 2011 00:08:02 +0000 (-0700) Subject: vmscan: count pages into balanced for zone with good watermark X-Git-Tag: v3.2-rc1~108^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16fb951237c2b0b28037b992ee44e7ee401c30d1;p=pandora-kernel.git vmscan: count pages into balanced for zone with good watermark 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 Acked-by: Mel Gorman Reviewed-by: Minchan Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed