Skip to content

Commit

Permalink
Make nohz_full not be picked up as a default config option and add re…
Browse files Browse the repository at this point in the history
…commendation to help.
  • Loading branch information
Con Kolivas committed Dec 31, 2020
1 parent 6ad64c4 commit 0be1591
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion kernel/time/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,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
Expand All @@ -96,8 +99,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
Expand All @@ -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
Expand Down

0 comments on commit 0be1591

Please sign in to comment.