diff options
author | Qais Yousef <[email protected]> | 2020-03-02 13:27:17 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2020-03-06 12:57:27 +0100 |
commit | b28bc1e002c23ff8a4999c4a2fb1d4d412bc6f5e (patch) | |
tree | bf69a70331d7926ec74ddabb12ce119c5e4a82b2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d9cb236b9429044dc694ea70a50163ddd283cea6 (diff) |
sched/rt: Re-instate old behavior in select_task_rq_rt()
When RT Capacity Aware support was added, the logic in select_task_rq_rt
was modified to force a search for a fitting CPU if the task currently
doesn't run on one.
But if the search failed, and the search was only triggered to fulfill
the fitness request; we could end up selecting a new CPU unnecessarily.
Fix this and re-instate the original behavior by ensuring we bail out
in that case.
This behavior change only affected asymmetric systems that are using
util_clamp to implement capacity aware. None asymmetric systems weren't
affected.
LINK: https://lore.kernel.org/lkml/[email protected]/
Reported-by: Pavan Kondeti <[email protected]>
Signed-off-by: Qais Yousef <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Fixes: 804d402fb6f6 ("sched/rt: Make RT capacity-aware")
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions