cpuidle: teo: Avoid stopping the tick unnecessarily when bailing out
When teo_select() is going to return early in some special cases, make it avoid stopping the tick if the idle state to be returned is shallow. In particular, never stop the tick if state 0 is to be returned. Link: https://lore.kernel.org/linux-pm/CAJZ5v0jJxHj65r2HXBTd3wfbZtsg=_StzwO1kA5STDnaPe_dWA@mail.gmail.com Signed-off-by:Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-and-tested-by:
Kajetan Puchalski <kajetan.puchalski@arm.com>
Loading
Please register or sign in to comment