Re: [PATCH v1] timers: Clear must_forward_clk inside base lock

2018-08-01 Thread Thomas Gleixner
On Wed, 1 Aug 2018, Gaurav Kohli wrote: > @@ -1657,6 +1657,17 @@ static inline void __run_timers(struct timer_base > *base) > > raw_spin_lock_irq(&base->lock); > > + /* > + * The must_forward_clk flag is cleared unconditionally also for > + * the deferrable base. The deferr

[PATCH v1] timers: Clear must_forward_clk inside base lock

2018-08-01 Thread Gaurav Kohli
Timer wheel base->must_forward_clock is indicating that the base clock might be stale due to a long idle sleep. The forwarding of base clock takes place in softirq of timer or when a timer is enqueued to base which is idle. While migrate timer from remote CPU to the new base which is idle, then fol