diff options
author | Andrea Arcangeli <aarcange@redhat.com> | 2010-05-21 01:14:03 +0200 |
---|---|---|
committer | Andrea Arcangeli <aarcange@redhat.com> | 2010-05-20 23:16:49 +0000 |
commit | 387f91bc797fd90c84e92378aa115cd86eca3fcc (patch) | |
tree | 52340d8b5f5458f233a9337eebb98de3df99df48 | |
parent | 31675e1876e66de3020995189cfffc8935574cc6 (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/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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. |