diff options
author | Shaohua Li <shaohua.li@intel.com> | 2011-11-01 01:08:02 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-01 01:30:47 +0100 |
commit | 16fb951237c2b0b28037b992ee44e7ee401c30d1 (patch) | |
tree | 756ba52239d304d8f45deb102f17960f0a8517ec /mm/debug-pagealloc.c | |
parent | mm: vmscan: immediately reclaim end-of-LRU dirty pages when writeback completes (diff) | |
download | linux-16fb951237c2b0b28037b992ee44e7ee401c30d1.tar.xz linux-16fb951237c2b0b28037b992ee44e7ee401c30d1.zip |
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 <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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/debug-pagealloc.c')
0 files changed, 0 insertions, 0 deletions