]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm: enable CONFIG_COMPACTION by default
authorRik van Riel <riel@redhat.com>
Fri, 28 Sep 2012 00:19:51 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Sep 2012 06:07:51 +0000 (16:07 +1000)
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>
mm/Kconfig

index 3322342a1ffb0796708e2045571472235e502927..a3f8dddaaab3f08de3bc6c63921be614bbae6736 100644 (file)
@@ -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