summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCon Kolivas <kernel@kolivas.org>2019-07-19 17:26:51 +1000
committerCon Kolivas <kernel@kolivas.org>2020-06-09 18:30:40 +1000
commit55c8f2f4b7f915489f809663274fe15c14f1fd4e (patch)
tree344454b23bbeb07cf07313cb6a3701bc9c0438da
parent4974889ed0601aa25619fe9f0fdac905ad471872 (diff)
Make nohz_full not be picked up as a default config option and add recommendation to help.
-rw-r--r--kernel/time/Kconfig8
1 files changed, 7 insertions, 1 deletions
diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig
index 60b4fd254c80..2960cace6719 100644
--- a/kernel/time/Kconfig
+++ b/kernel/time/Kconfig
@@ -66,6 +66,9 @@ config NO_HZ_COMMON
depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
select TICK_ONESHOT
+config NO_HZ_FULL
+ bool
+
choice
prompt "Timer tick handling"
default NO_HZ_IDLE if NO_HZ
@@ -87,8 +90,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
depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
# We need at least one periodic CPU for timekeeping
@@ -114,6 +118,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