aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2023-08-03 21:09:18 +0000
committerRafael J. Wysocki <[email protected]>2023-08-09 17:58:46 +0000
commit6da8f9ba5a87f8aecf2cd4441cc6024a77e5b645 (patch)
tree594fecf72587e6aa3e86ddef92b3d2e0394dabd6 /tools/perf/scripts/python/sched-migration.py
parentcpuidle: teo: Do not call tick_nohz_get_sleep_length() upfront (diff)
downloadkernel-6da8f9ba5a87f8aecf2cd4441cc6024a77e5b645.tar.gz
kernel-6da8f9ba5a87f8aecf2cd4441cc6024a77e5b645.zip
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 <[email protected]> Tested-by: Kajetan Puchalski <[email protected]> Tested-by: Anna-Maria Behnsen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions