diff options
| author | 2026-01-14 20:44:04 +0100 | |
|---|---|---|
| committer | 2026-01-23 21:49:54 +0100 | |
| commit | 4bd2221f231d798b01027367857d9ba2f24f6ea0 (patch) | |
| tree | 23b09523132dcd70112f5cebdbab776f3d3d9e04 /tools/perf/scripts/python/stackcollapse.py | |
| parent | cpuidle: governors: menu: Always check timers with tick stopped (diff) | |
cpuidle: governors: teo: Avoid selecting states with zero-size bins
If the last two enabled idle states have the same target residency which
is at least equal to TICK_NSEC, teo may select the next-to-last one even
though the size of that state's bin is 0, which is confusing.
Prevent that from happening by adding a target residency check to the
relevant code path.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Christian Loehle <christian.loehle@arm.com>
[ rjw: Fixed a typo in the changelog ]
Link: https://patch.msgid.link/3033265.e9J7NaK4W3@rafael.j.wysocki
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
