aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRik van Riel <[email protected]>2012-10-08 16:33:03 -0700
committerLinus Torvalds <[email protected]>2012-10-09 16:22:53 +0900
commit05106e6a54aed321191b4bb5c9ee09538cbad3b1 (patch)
treeba13b2981df91a994f15224d07485b90e6840a10
parenteab1eef9911c36966b5d5934e6970581b3316013 (diff)
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 <[email protected]> Cc: Mel Gorman <[email protected]> Acked-by: Rafael Aquini <[email protected]> Acked-by: Johannes Weiner <[email protected]> Acked-by: Minchan Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--mm/Kconfig1
1 files changed, 1 insertions, 0 deletions
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