Commit 842b119
committed
NVIDIA: SAUCE: sched/fair: Reject misfit pulls onto busy SMT siblings on asym-capacity
When SD_ASYM_CPUCAPACITY load balancing considers pulling a misfit task,
capacity_of(dst_cpu) can overstate available compute if the SMT sibling is
busy: the core does not deliver its full nominal capacity.
If SMT is active and dst_cpu is not on a fully idle core, skip this
destination so we do not migrate a misfit expecting a capacity upgrade we
cannot actually provide.
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: Christian Loehle <christian.loehle@arm.com>
Cc: Koba Ko <kobak@nvidia.com>
Cc: K Prateek Nayak <kprateek.nayak@amd.com>
Reported-by: Felix Abecassis <fabecassis@nvidia.com>
Signed-off-by: Andrea Righi <arighi@nvidia.com>
(cherry picked from https://lore.kernel.org/all/20260428051720.3180182-1-arighi@nvidia.com)
Signed-off-by: Andrea Righi <arighi@nvidia.com>1 parent 20f85dc commit 842b119
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9153 | 9153 | | |
9154 | 9154 | | |
9155 | 9155 | | |
| 9156 | + | |
9156 | 9157 | | |
9157 | 9158 | | |
9158 | 9159 | | |
| |||
10394 | 10395 | | |
10395 | 10396 | | |
10396 | 10397 | | |
| 10398 | + | |
| 10399 | + | |
| 10400 | + | |
| 10401 | + | |
| 10402 | + | |
10397 | 10403 | | |
10398 | 10404 | | |
10399 | 10405 | | |
10400 | | - | |
| 10406 | + | |
| 10407 | + | |
10401 | 10408 | | |
10402 | 10409 | | |
10403 | 10410 | | |
| |||
10964 | 10971 | | |
10965 | 10972 | | |
10966 | 10973 | | |
| 10974 | + | |
| 10975 | + | |
10967 | 10976 | | |
10968 | 10977 | | |
10969 | 10978 | | |
| |||
0 commit comments