Commit 50f7ccc6 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

cpuidle: menu: Update stale polling override comment

The comment to explain why the menu governor uses idle state 1
instead of idle state 0 as the first one sometimes is stale (among
other things it mentions a user setting not present any more),
so update it.
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 3d95b89e
...@@ -328,9 +328,8 @@ static int menu_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, ...@@ -328,9 +328,8 @@ static int menu_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,
unsigned int polling_threshold; unsigned int polling_threshold;
/* /*
* We want to default to C1 (hlt), not to busy polling * Default to a physical idle state, not to busy polling, unless
* unless the timer is happening really really soon, or * a timer is going to trigger really really soon.
* C1's exit latency exceeds the user configured limit.
*/ */
polling_threshold = max_t(unsigned int, 20, s->target_residency); polling_threshold = max_t(unsigned int, 20, s->target_residency);
if (data->next_timer_us > polling_threshold && if (data->next_timer_us > polling_threshold &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment