]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb61cf8952d4c9e2c457bd57e75d44c63c337e45
tree6e9b3fc9d14e7bbd8c6c97a1277fd3e9b5034f5b
parent70140cd21aa79aa8b31aeb70e58fd5582a39800f
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