aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRicardo Neri <[email protected]>2023-04-06 13:31:43 -0700
committerPeter Zijlstra <[email protected]>2023-05-08 10:58:36 +0200
commitc9ca07886aaa40225a29e5c1e46ac31d2e14f53a (patch)
tree2b572117601673101f350998489b5086187b6c9a /tools/perf/scripts/python
parent43726bdedd29797d8e1fee2e7300a6d2b9a74ba8 (diff)
sched/fair: Do not even the number of busy CPUs via asym_packing
Now that find_busiest_group() triggers load balancing between a fully_ busy SMT2 core and an idle non-SMT core, it is no longer needed to force balancing via asym_packing. Use asym_packing only as intended: when there is high-priority CPU that is idle. After this change, the same logic apply to SMT and non-SMT local groups. It makes less sense having a separate function to deal specifically with SMT. Fold the logic in asym_smt_can_pull_tasks() into sched_asym(). Signed-off-by: Ricardo Neri <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Tested-by: Zhang Rui <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions