From d652b0b34beb3763386acac3a0910af7e72176ed Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 19 Jul 2019 17:26:51 +1000 Subject: [PATCH 15/16] Make nohz_full not be picked up as a default config option and add recommendation to help. --- kernel/time/Kconfig | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig index 99235d57431e..1823a28d10a8 100644 --- a/kernel/time/Kconfig +++ b/kernel/time/Kconfig @@ -77,6 +77,9 @@ config NO_HZ_COMMON bool select TICK_ONESHOT +config NO_HZ_FULL + bool + choice prompt "Timer tick handling" default NO_HZ_IDLE if NO_HZ @@ -97,8 +100,9 @@ config NO_HZ_IDLE Most of the time you want to say Y here. -config NO_HZ_FULL +config NO_HZ_FULL_NODEF bool "Full dynticks system (tickless)" + select NO_HZ_FULL # NO_HZ_COMMON dependency # We need at least one periodic CPU for timekeeping depends on SMP @@ -123,6 +127,8 @@ config NO_HZ_FULL transitions: syscalls, exceptions and interrupts. Even when it's dynamically off. + Not recommended for desktops,laptops, or mobile devices. + Say N. endchoice -- 2.25.1