mm: compaction: push isolate search base of compact control one pfn ahead
authorHillf Danton <dhillf@gmail.com>
Tue, 10 Jan 2012 23:07:59 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 00:30:44 +0000 (16:30 -0800)
commit31b8384a555d94c78e2ea2284a323cb985441f60
tree6e9b3fc9d14e7bbd8c6c97a1277fd3e9b5034f5b
parente3a41a5ba9c2ab988b9f1442925109dca2382fd9
mm: compaction: push isolate search base of compact control one pfn ahead

After isolated the current pfn will no longer be scanned and isolated if
the next round is necessary, so push the isolate_migratepages search base
of the given compact_control one step ahead.

Signed-off-by: Hillf Danton <dhillf@gmail.com>
Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/compaction.c