aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2023-07-31 19:03:09 +0000
committerRafael J. Wysocki <[email protected]>2023-08-03 20:37:03 +0000
commit04bae4e2267d49eb9cfec403acd0462b8d00d637 (patch)
tree0d7d4222ac6fa05122e92e1370fca913a5c9ce75 /tools/perf/scripts/python/sched-migration.py
parentcpuidle: teo: Update idle duration estimate when choosing shallower state (diff)
downloadkernel-04bae4e2267d49eb9cfec403acd0462b8d00d637.tar.gz
kernel-04bae4e2267d49eb9cfec403acd0462b8d00d637.zip
cpuidle: teo: Avoid stopping the tick unnecessarily when bailing out
When teo_select() is going to return early in some special cases, make it avoid stopping the tick if the idle state to be returned is shallow. In particular, never stop the tick if state 0 is to be returned. Link: https://lore.kernel.org/linux-pm/CAJZ5v0jJxHj65r2HXBTd3wfbZtsg=_StzwO1kA5STDnaPe_dWA@mail.gmail.com Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-and-tested-by: Kajetan Puchalski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions