summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Arcangeli <aarcange@redhat.com>2010-11-02 21:46:55 +0100
committerAndrea Arcangeli <aarcange@redhat.com>2010-11-02 20:47:42 +0000
commitada597b4e1ecde148d2f369608783edcc950d330 (patch)
treee39f3d435bde2db8e0720a8b4242417f6c4e75ea
parent7aa6e103f7f6d37bf2e42b867a6593a0705ba6f2 (diff)
select CONFIG_COMPACTION if TRANSPARENT_HUGEPAGE enabled
With transparent hugepage support we need compaction for the "defrag" sysfs controls to be effective. Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
-rw-r--r--mm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index 3e81687263b5..3ad483bdf505 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -305,6 +305,7 @@ config NOMMU_INITIAL_TRIM_EXCESS
config TRANSPARENT_HUGEPAGE
bool "Transparent Hugepage Support"
depends on X86 && MMU
+ select COMPACTION
help
Transparent Hugepages allows the kernel to use huge pages and
huge tlb transparently to the applications whenever possible.