On 18 December 2013 19:21, Kevin Hilman khilman@linaro.org wrote:
Ah, I see. So you're basically asking why we can't evaluate whether to turn off the tick more often, for example right after the workqueues are done. I suppose Frederic may have some views on that, but there's likely additional overhead from those checks as well as that workqueues may not be the only thing keeping us out of NO_HZ.
I see that sched_switch is called at the end most of the times so an check there might be useful ?