]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
timers: Expand clk forward logic beyond nohz
authorFrederic Weisbecker <frederic@kernel.org>
Fri, 17 Jul 2020 14:05:48 +0000 (16:05 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 17 Jul 2020 19:55:24 +0000 (21:55 +0200)
commit1f8a4212dc83f8353843fabf6465fd918372fbbf
tree7df5a9dc22f4225cbdedf9f9e5e18ab567c7846b
parent90d52f65f303091be17b5f4ffab7090b2064b4a1
timers: Expand clk forward logic beyond nohz

As for next_expiry, the base->clk catch up logic will be expanded beyond
NOHZ in order to avoid triggering useless softirqs.

If softirqs should only fire to expire pending timers, periodic base->clk
increments must be skippable for random amounts of time.  Therefore prepare
to catch-up with missing updates whenever an up-to-date base clock is
needed.

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-10-frederic@kernel.org
kernel/time/timer.c