From 611a8e67260e8b8190ab991206a3867681d6df91 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Fri, 29 Sep 2017 16:32:09 +0200 Subject: [PATCH] thp: Enable TRANSPARENT_HUGEPAGE_ALWAYS instead of TRANSPARENT_HUGEPAGE_MADVISE As advised by Andrea Arcangeli - since commit 444eb2a449ef "mm: thp: set THP defrag by default to madvise and add a stall-free defrag option" this will generally be best for performance. --- debian/changelog | 2 ++ debian/config/config | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 59ba7395e..9c8b9a6ac 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,8 @@ linux (4.13.4-1~exp1) UNRELEASED; urgency=medium * [armhf] Enable AXP20X_ADC, CHARGER_AXP20X, BATTERY_AXP20X, GPIO_AXP209, AXP288_CHARGER, AXP288_FUEL_GAUGE, EXTCON_AXP288, AXP288_ADC as modules (Closes: #873038) + * thp: Enable TRANSPARENT_HUGEPAGE_ALWAYS instead of + TRANSPARENT_HUGEPAGE_MADVISE [ Uwe Kleine-König ] * [arm64] really enable NET_DSA_MV88E6XXX for Espressobin diff --git a/debian/config/config b/debian/config/config index 986ff87d9..e7c7ed0e9 100644 --- a/debian/config/config +++ b/debian/config/config @@ -6229,7 +6229,8 @@ CONFIG_MEMORY_FAILURE=y CONFIG_HWPOISON_INJECT=m CONFIG_TRANSPARENT_HUGEPAGE=y ## choice: Transparent Hugepage Support sysfs defaults -CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y +CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y +# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set ## end choice # CONFIG_CLEANCACHE is not set CONFIG_FRONTSWAP=y