From: Weilong Chen chenweilong@huawei.com
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 chenweilong@huawei.com Reviewed-by: Ding Tianhong dingtianhong@huawei.com Signed-off-by: Yang Yingliang yangyingliang@huawei.com --- 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