]> 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>
Fri, 23 Sep 2011 05:15:13 +0000 (15:15 +1000)
commitd0db9469a0edc74de83ee0f7cd15c35fda0d0889
treecfc52711c420e28af4bbd4455c72753c0538db23
parent71025652695797dc472b78bbfaf93c48a9f60775
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