diff options
author | 2023-04-06 13:31:43 -0700 | |
---|---|---|
committer | 2023-05-08 10:58:36 +0200 | |
commit | c9ca07886aaa40225a29e5c1e46ac31d2e14f53a (patch) | |
tree | 2b572117601673101f350998489b5086187b6c9a /kernel/sched/debug.c | |
parent | sched/fair: Use the busiest group to set prefer_sibling (diff) | |
download | linux-rng-c9ca07886aaa40225a29e5c1e46ac31d2e14f53a.tar.xz linux-rng-c9ca07886aaa40225a29e5c1e46ac31d2e14f53a.zip |
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 <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Zhang Rui <rui.zhang@intel.com>
Link: https://lore.kernel.org/r/20230406203148.19182-8-ricardo.neri-calderon@linux.intel.com
Diffstat (limited to 'kernel/sched/debug.c')
0 files changed, 0 insertions, 0 deletions