]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: compaction: push isolate search base of compact control one pfn ahead
authorHillf Danton <dhillf@gmail.com>
Fri, 2 Dec 2011 03:12:06 +0000 (14:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 2 Dec 2011 03:15:36 +0000 (14:15 +1100)
commit17d5bf2ae11b6c4ab2f3d922e8a3d97d8c76bbfc
treecb9a8fb93f39e802345855ef269e279d5c376491
parent0d9a11685c4a1adb2460dd1c48b815b3f28a7604
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>
mm/compaction.c