Re: [PATCH] tick/nohz: Fix the intention to stop full tick for offline CPU

2016-09-13 Thread Wanpeng Li
Ping Thomas, :) 2016-09-07 18:51 GMT+08:00 Wanpeng Li : > From: Wanpeng Li > > Interrupt exit is the place to stop the tick: it happens after all > events happening before and during the irq which are liable to update > the dependency on the tick occurred. However, tick_nohz_stop_sched_tick() > tr

[PATCH] tick/nohz: Fix the intention to stop full tick for offline CPU

2016-09-07 Thread Wanpeng Li
From: Wanpeng Li Interrupt exit is the place to stop the tick: it happens after all events happening before and during the irq which are liable to update the dependency on the tick occurred. However, tick_nohz_stop_sched_tick() try to stop the full tick instead of bailing out in advance. As