diff options
author | Rik van Riel <riel@redhat.com> | 2012-10-08 19:33:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-09 03:22:53 -0400 |
commit | 05106e6a54aed321191b4bb5c9ee09538cbad3b1 (patch) | |
tree | ba13b2981df91a994f15224d07485b90e6840a10 /mm | |
parent | eab1eef9911c36966b5d5934e6970581b3316013 (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 <riel@redhat.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Acked-by: Rafael Aquini <aquini@redhat.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
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>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/Kconfig | 1 |
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 | |||
191 | # support for memory compaction | 191 | # support for memory compaction |
192 | config COMPACTION | 192 | config COMPACTION |
193 | bool "Allow for memory compaction" | 193 | bool "Allow for memory compaction" |
194 | def_bool y | ||
194 | select MIGRATION | 195 | select MIGRATION |
195 | depends on MMU | 196 | depends on MMU |
196 | help | 197 | help |