diff --git a/mm/Kconfig b/mm/Kconfig index 26e23354ba20..5aaafdfc4068 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -871,6 +871,12 @@ choice madvise(MADV_HUGEPAGE) but it won't risk to increase the memory footprint of applications without a guaranteed benefit. + + config TRANSPARENT_HUGEPAGE_NEVER + bool "never" + help + Disable Transparent Hugepage by default. It can still be + enabled at runtime via sysfs. endchoice config THP_SWAP