Re: [PATCH v1 4/5] cpuidle: menu: Don't stay in shallow state for a long time

2018-08-21 Thread Rafael J. Wysocki
On Sunday, August 12, 2018 6:09:30 PM CEST Leo Yan wrote: > To avoid staying in a shallow state for a long time, the menu governor > relies on not stopping tick when detects the prediction is shorter than > the tick event. This is just luckily to cover most cases but cannot say > it is completely

[PATCH v1 4/5] cpuidle: menu: Don't stay in shallow state for a long time

2018-08-12 Thread Leo Yan
To avoid staying in a shallow state for a long time, the menu governor relies on not stopping tick when detects the prediction is shorter than the tick event. This is just luckily to cover most cases but cannot say it is completely safe. For example, if the prediction is 2000us and the TICK_USEC=