Commit 4583458
committed
NVIDIA: SAUCE: sched/fair: Reject misfit pulls onto busy SMT siblings on asym-capacity
BugLink: https://bugs.launchpad.net/bugs/2150671
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>
Acked-by: Jamie Nguyen <jamien@nvidia.com>
Acked-by: Matthew R. Ochs <mochs@nvidia.com>
Acked-by: Carol L Soto <csoto@nvidia.com>
Signed-off-by: Brad Figg <bfigg@nvidia.com>1 parent 9a303c2 commit 4583458
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9390 | 9390 | | |
9391 | 9391 | | |
9392 | 9392 | | |
| 9393 | + | |
9393 | 9394 | | |
9394 | 9395 | | |
9395 | 9396 | | |
| |||
10635 | 10636 | | |
10636 | 10637 | | |
10637 | 10638 | | |
| 10639 | + | |
| 10640 | + | |
| 10641 | + | |
| 10642 | + | |
| 10643 | + | |
10638 | 10644 | | |
10639 | 10645 | | |
10640 | 10646 | | |
10641 | | - | |
| 10647 | + | |
| 10648 | + | |
10642 | 10649 | | |
10643 | 10650 | | |
10644 | 10651 | | |
| |||
11204 | 11211 | | |
11205 | 11212 | | |
11206 | 11213 | | |
| 11214 | + | |
| 11215 | + | |
11207 | 11216 | | |
11208 | 11217 | | |
11209 | 11218 | | |
| |||
0 commit comments