From: Rik van Riel Date: Mon, 8 Oct 2012 23:33:03 +0000 (-0700) Subject: mm: enable CONFIG_COMPACTION by default X-Git-Url: http://drtracing.org/?a=commitdiff_plain;ds=sidebyside;h=05106e6a54aed321191b4bb5c9ee09538cbad3b1;p=deliverable%2Flinux.git mm: enable CONFIG_COMPACTION by default Now that lumpy reclaim has been removed, compaction is the only way left to free up contiguous memory areas. It is time to just enable CONFIG_COMPACTION by default. Signed-off-by: Rik van Riel Cc: Mel Gorman Acked-by: Rafael Aquini Acked-by: Johannes Weiner Acked-by: Minchan Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/Kconfig b/mm/Kconfig index 3322342a1ffb..a3f8dddaaab3 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -191,6 +191,7 @@ config SPLIT_PTLOCK_CPUS # support for memory compaction config COMPACTION bool "Allow for memory compaction" + def_bool y select MIGRATION depends on MMU help