linux/drivers/cpuidle/governors
Rafael J. Wysocki 030adec9f6 cpuidle: teo: Take negative "sleep length" values into account
Modify the TEO governor to take possible negative return values of
tick_nohz_get_next_hrtimer() into account by changing the data type
of some variables used by it to s64 which allows it to carry out
computations without potentially problematic data type conversions
into u64.

Also change the computations in teo_select() so that the negative
values themselves are handled in a natural way to avoid adding extra
negative value checks to that function.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2021-04-07 19:26:44 +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
Makefile cpuidle: add haltpoll governor 2019-07-30 17:27:37 +02:00
menu.c cpuidle: Use nanoseconds as the unit of time 2019-11-11 21:56:07 +01:00
teo.c cpuidle: teo: Take negative "sleep length" values into account 2021-04-07 19:26:44 +02:00