projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89876f2
)
timers: Unconditionally check deferrable base
author
Thomas Gleixner
<
[email protected]
>
Sun, 14 Jan 2018 22:19:49 +0000
(23:19 +0100)
committer
Thomas Gleixner
<
[email protected]
>
Sun, 14 Jan 2018 22:25:33 +0000
(23:25 +0100)
When the timer base is checked for expired timers then the deferrable base
must be checked as well. This was missed when making the deferrable base
independent of base::nohz_active.
Fixes: ced6d5c11d3e ("timers: Use deferrable base independent of base::nohz_active")
Signed-off-by: Thomas Gleixner <
[email protected]
>
Cc: Anna-Maria Gleixner <
[email protected]
>
Cc: Frederic Weisbecker <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Sebastian Siewior <
[email protected]
>
Cc: Paul McKenney <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
kernel/time/timer.c
patch
|
blob
|
history
diff --git
a/kernel/time/timer.c
b/kernel/time/timer.c
index 89a9e1b4264a07a9a6d69e37759c27ced8b4de37..0bcf00e3ce482b17392e30904decf86d459c4928 100644
(file)
--- a/
kernel/time/timer.c
+++ b/
kernel/time/timer.c
@@
-1696,7
+1696,7
@@
void run_local_timers(void)
hrtimer_run_queues();
/* Raise the softirq only if required. */
if (time_before(jiffies, base->clk)) {
- if (!IS_ENABLED(CONFIG_NO_HZ_COMMON)
|| !base->nohz_active
)
+ if (!IS_ENABLED(CONFIG_NO_HZ_COMMON))
return;
/* CPU is awake, so check the deferrable base. */
base++;