]> 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>
Thu, 15 Sep 2011 06:21:26 +0000 (16:21 +1000)
commitbc044329b109b26cd8ff240af0734e259a00fea4
tree58cdddea12613ff1e61610fc2daa41b232ea15be
parent0969a1c47f07d6b1d3e7493e27d6c42350826893
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