mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01:00
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:
1 parent
0975fb565b
commit
36cd28a4cd
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user