]> git.baikalelectronics.ru Git - kernel.git/commit
revert "mm: have order > 0 compaction start off where it left"
authorMel Gorman <mgorman@suse.de>
Mon, 8 Oct 2012 23:32:40 +0000 (16:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Oct 2012 07:22:50 +0000 (16:22 +0900)
commitaeedc5b523622f87d27800c0d382a591f88b5f96
tree6a705fd73dd599e7eeb58cb06e84c86c07c03a64
parent9e2d9da323ac90aef365f467bc6bb38b3b84642a
revert "mm: have order > 0 compaction start off where it left"

This reverts commit 3ad05ebc96b9 ("mm: have order > 0 compaction start
off where it left") and commit f3a6ab0c ("mm: have order > 0 compaction
start near a pageblock with free pages").  These patches were a good
idea and tests confirmed that they massively reduced the amount of
scanning but the implementation is complex and tricky to understand.  A
later patch will cache what pageblocks should be skipped and
reimplements the concept of compact_cached_free_pfn on top for both
migration and free scanners.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Acked-by: Rik van Riel <riel@redhat.com>
Cc: Richard Davies <richard@arachsys.com>
Cc: Shaohua Li <shli@kernel.org>
Cc: Avi Kivity <avi@redhat.com>
Acked-by: Rafael Aquini <aquini@redhat.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mmzone.h
mm/compaction.c
mm/internal.h
mm/page_alloc.c