Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpuidle: menu: Move the latency_req == 0 special case check
It is better to always update data->bucket before returning from menu_select() to avoid updating the correction factor for a stale bucket, so combine the latency_req == 0 special check with the more general check below. Signed-off-by: Rafael J. Wysocki <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]>