diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-07-13 16:39:49 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-08-10 18:57:22 +0300 |
commit | e71a4153b7c256ec103e79875398553808aeffd2 (patch) | |
tree | 06d723abc900f8fe1ba2202375041ae76d4e0c3b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8c3b5e6ec0fee18bc2ce38d1dfe913413205f908 (diff) | |
download | linux-e71a4153b7c256ec103e79875398553808aeffd2.tar.xz |
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 <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210713135158.288697903@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions