Skip to contentSkip to conversation

timer fix for 4.15

GIT PULL Thomas Gleixner 1 participant 1 message Jan 17, 2018 High-resolution timers, timer wheel, clockevents

lore
Share & tools
lore
#0 lore raw

Linus,

please pull the latest timers-urgent-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus

A one-liner fix which prevents deferrable timers becoming stale when the system does not switch into NOHZ mode.

Thanks,

tglx

------------------>
Thomas Gleixner (1):
timers: Unconditionally check deferrable base

 kernel/time/timer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/time/timer.c +1 -1
index 89a9e1b4264a..0bcf00e3ce48 100644
@@ -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++;