WSL2-Linux-Kernel/drivers/cpuidle/governors
Rafael J. Wysocki 060e3535ad 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>
2021-04-07 19:26:44 +02:00
..
Makefile cpuidle: add haltpoll governor 2019-07-30 17:27:37 +02:00
haltpoll.c cpuidle: Use nanoseconds as the unit of time 2019-11-11 21:56:07 +01:00
ladder.c cpuidle: Use nanoseconds as the unit of time 2019-11-11 21:56:07 +01:00
menu.c cpuidle: menu: Take negative "sleep length" values into account 2021-04-07 19:26:44 +02:00
teo.c cpuidle: teo: Take negative "sleep length" values into account 2021-04-07 19:26:44 +02:00