diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-08-03 23:09:18 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-08-09 19:58:46 +0200 |
commit | 6da8f9ba5a87f8aecf2cd4441cc6024a77e5b645 (patch) | |
tree | 594fecf72587e6aa3e86ddef92b3d2e0394dabd6 /scripts/rustdoc_test_builder.rs | |
parent | 21d28cd2fa5fc01ee83e64df838ecd72112c09b7 (diff) |
cpuidle: teo: Skip tick_nohz_get_sleep_length() call in some cases
Make teo_select() avoid calling tick_nohz_get_sleep_length() if the
candidate idle state to return is state 0 or if state 0 is a polling
one and the target residency of the current candidate one is below
a certain threshold, in which cases it may be assumed that the CPU will
be woken up immediately by a non-timer wakeup source and the timers
are not likely to matter.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Kajetan Puchalski <kajetan.puchalski@arm.com>
Tested-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions