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: Frederic Weisbecker <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Juri Lelli <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
This commit is contained in:
Frederic Weisbecker authored and Thomas Gleixner committed 2020-07-17 21:55:25 +02:00
1 parent 0975fb565b
commit 36cd28a4cd
1 file changed
+1 -1
+1 -1
View File
@@ -894,7 +894,7 @@ static inline void forward_timer_base(struct timer_base *base)
* Also while executing timers, base->clk is 1 offset ahead
* of jiffies to avoid endless requeuing to current jffies.
*/
if ((long)(jnow - base->clk) < 2)
if ((long)(jnow - base->clk) < 1)
return;
/*