diff options
author | Anna-Maria Behnsen <anna-maria@linutronix.de> | 2022-04-05 21:17:31 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2022-04-09 22:19:39 +0200 |
commit | 2731aa7d65dbb31c6dad14347c37d522bb3bc7c6 (patch) | |
tree | 19a19ee5e63bed751b21aea801939d1c746d174f /tools/perf/scripts/python/libxed.py | |
parent | c54bc0fc84214b203f7a0ebfd1bd308ce2abe920 (diff) |
timers: Initialize base::next_expiry_recalc in timers_prepare_cpu()
When base::next_expiry_recalc is not initialized to false during cpu
bringup in HOTPLUG_CPU and is accidently true and no timer is queued in the
meantime, the loop through the wheel to find __next_timer_interrupt() might
be done for nothing.
Therefore initialize base::next_expiry_recalc to false in
timers_prepare_cpu().
Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lore.kernel.org/r/20220405191732.7438-2-anna-maria@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions