aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_stackinit.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2021-07-13 13:39:49 +0000
committerThomas Gleixner <[email protected]>2021-08-10 15:57:22 +0000
commite71a4153b7c256ec103e79875398553808aeffd2 (patch)
tree06d723abc900f8fe1ba2202375041ae76d4e0c3b /lib/test_stackinit.c
parenthrtimer: Ensure timerfd notification for HIGHRES=n (diff)
downloadkernel-e71a4153b7c256ec103e79875398553808aeffd2.tar.gz
kernel-e71a4153b7c256ec103e79875398553808aeffd2.zip
hrtimer: Force clock_was_set() handling for the HIGHRES=n, NOHZ=y case
When CONFIG_HIGH_RES_TIMERS is disabled, but NOHZ is enabled then clock_was_set() is not doing anything. With HIGHRES=n the kernel relies on the periodic tick to update the clock offsets, but when NOHZ is enabled and active then CPUs which are in a deep idle sleep do not have a periodic tick which means the expiry of timers affected by clock_was_set() can be arbitrarily delayed up to the point where the CPUs are brought out of idle again. Make the clock_was_set() logic unconditionaly available so that idle CPUs are kicked out of idle to handle the update. Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions