diff options
author | Ricardo Neri <[email protected]> | 2021-09-10 18:18:19 -0700 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2021-10-05 15:52:06 +0200 |
commit | 4006a72bdd93b1ffedc2bd8646dee18c822a2c26 (patch) | |
tree | b7503326c996aa67714a07308c02d4c2e0557ece /scripts/gdb/linux/proc.py | |
parent | aafc917a3c31dcc76cb0279cd7617dda11b15f2a (diff) |
sched/fair: Consider SMT in ASYM_PACKING load balance
When deciding to pull tasks in ASYM_PACKING, it is necessary not only to
check for the idle state of the destination CPU, dst_cpu, but also of
its SMT siblings.
If dst_cpu is idle but its SMT siblings are busy, performance suffers
if it pulls tasks from a medium priority CPU that does not have SMT
siblings.
Implement asym_smt_can_pull_tasks() to inspect the state of the SMT
siblings of both dst_cpu and the CPUs in the candidate busiest group.
Signed-off-by: Ricardo Neri <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Joel Fernandes (Google) <[email protected]>
Reviewed-by: Len Brown <[email protected]>
Reviewed-by: Vincent Guittot <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions