|
@@ -27,11 +27,12 @@
|
|
|
#include "internal.h"
|
|
|
|
|
|
/*
|
|
|
- * By default transparent hugepage support is enabled for all mappings
|
|
|
- * and khugepaged scans all mappings. Defrag is only invoked by
|
|
|
- * khugepaged hugepage allocations and by page faults inside
|
|
|
- * MADV_HUGEPAGE regions to avoid the risk of slowing down short lived
|
|
|
- * allocations.
|
|
|
+ * By default transparent hugepage support is disabled in order that avoid
|
|
|
+ * to risk increase the memory footprint of applications without a guaranteed
|
|
|
+ * benefit. When transparent hugepage support is enabled, is for all mappings,
|
|
|
+ * and khugepaged scans all mappings.
|
|
|
+ * Defrag is invoked by khugepaged hugepage allocations and by page faults
|
|
|
+ * for all hugepage allocations.
|
|
|
*/
|
|
|
unsigned long transparent_hugepage_flags __read_mostly =
|
|
|
#ifdef CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS
|