From 46f6486b2817f91d01478498e9a5e2d232a1a763 Mon Sep 17 00:00:00 2001 From: Weilong Chen Date: Mon, 14 Sep 2020 19:26:28 +0800 Subject: [PATCH] arm64/ascend: Add new CONFIG for auto-tuning hugepage ascend inclusion category: feature bugzilla: NA CVE: NA ------------------------------------------------- Add a new config ASCEND_AUTO_TUNING_HUGEPAGE to support for auto-tuning hugepage. Signed-off-by: Weilong Chen Reviewed-by: Ding Tianhong Signed-off-by: Yang Yingliang --- arch/arm64/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index e2a9aa12806c..af9f8eb3c827 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1519,6 +1519,12 @@ config ASCEND_WATCHDOG_SYSFS_CONFIGURE watchdog. The kernel thread could be notified so it's ok to make that change when the watchdog is pinged by kernel thread. +config ASCEND_AUTO_TUNING_HUGEPAGE + bool "Enable support for the auto-tuning hugepage" + default y + help + The hugepage auto-tuning means the kernel dynamically manages the number of + huage pages. To achieve this purpose, custom interfaces are required. endif endmenu -- GitLab