timer fix for 4.15
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
@@ -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++;