Messages in this thread | | | Date | Fri, 13 Nov 2015 15:22:16 -0500 (EST) | From | Thomas Gleixner <> | Subject | Re: [PATCH 2/4] timer: relax tick stop in idle entry |
| |
On Fri, 13 Nov 2015, Jacob Pan wrote:
> Upon entering idle, we can turn off tick if the next timeout > is exactly one tick away. Otherwise, we could enter inner idle loop > with tick still enabled, without resched set, the tick will continue > during idle therefore less optimal in terms of energy savings.
This does not make any sense at all.
next_tick is the next required tick event. If it's exactly ONE tick away why should we go through the hassle of stopping it? Just to cancel the timer and then set it to the same value again? Oh well.
Thanks,
tglx
| |