From 387f91bc797fd90c84e92378aa115cd86eca3fcc Mon Sep 17 00:00:00 2001 From: Andrea Arcangeli Date: Fri, 21 May 2010 01:14:03 +0200 Subject: 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 --- mm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/Kconfig b/mm/Kconfig index 1483f27ea977..1daf7093604f 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -303,6 +303,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. -- cgit v1.2.3