]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
timers: Always keep track of next expiry
authorFrederic Weisbecker <frederic@kernel.org>
Fri, 17 Jul 2020 14:05:46 +0000 (16:05 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 17 Jul 2020 19:55:23 +0000 (21:55 +0200)
commitdc2a0f1fb2a06df09f5094f29aea56b763aa7cca
tree5a617096707d5ccf8d10ddca8b978a49c7b6496f
parent001ec1b3925da0d51847c23fc0aa4129282db526
timers: Always keep track of next expiry

So far next expiry was only tracked while the CPU was in nohz_idle mode
in order to cope with missing ticks that can't increment the base->clk
periodically anymore.

This logic is going to be expanded beyond nohz in order to spare timer
softirqs so do it unconditionally.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Juri Lelli <juri.lelli@redhat.com>
Link: https://lkml.kernel.org/r/20200717140551.29076-8-frederic@kernel.org
kernel/time/timer.c