diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-03-29 20:37:12 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-04-07 19:26:44 +0200 |
commit | 060e3535adf5c961b01421b9fdaddab8dd43ba85 (patch) | |
tree | a560de19936faa2795782f532914f98b1b4ba8f3 /virt | |
parent | 030adec9f68e30cbbc24c57296a141943177c148 (diff) |
cpuidle: menu: Take negative "sleep length" values into account
Make the menu governor check the tick_nohz_get_next_hrtimer()
return value so as to avoid dealing with negative "sleep length"
values and make it use that value directly when the tick is stopped.
While at it, rename local variable delta_next in menu_select() to
delta_tick which better reflects its purpose.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions