From 2597ada28ffe244c98c605311ce3069742dddcf0 Mon Sep 17 00:00:00 2001 From: Weilong Chen Date: Tue, 22 Sep 2020 10:23:36 +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 d5b1aec5cc12..e6f0170e2872 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1380,6 +1380,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