Commit 36cd28a4 authored by Frederic Weisbecker's avatar Frederic Weisbecker Committed by Thomas Gleixner

timers: Lower base clock forwarding threshold

There is nothing that prevents from forwarding the base clock if it's one
jiffy off. The reason for this arbitrary limit of two jiffies is historical
and does not longer exist.
Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Tested-by: default avatarJuri Lelli <juri.lelli@redhat.com>
Link: https://lkml.kernel.org/r/20200717140551.29076-13-frederic@kernel.org
parent 0975fb56
...@@ -894,7 +894,7 @@ static inline void forward_timer_base(struct timer_base *base) ...@@ -894,7 +894,7 @@ static inline void forward_timer_base(struct timer_base *base)
* Also while executing timers, base->clk is 1 offset ahead * Also while executing timers, base->clk is 1 offset ahead
* of jiffies to avoid endless requeuing to current jffies. * of jiffies to avoid endless requeuing to current jffies.
*/ */
if ((long)(jnow - base->clk) < 2) if ((long)(jnow - base->clk) < 1)
return; return;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment