Commit 09fceee
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.
Reported-by: Felix Abecassis <fabecassis@nvidia.com>
Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://patch.msgid.link/20260509180955.1840064-5-arighi@nvidia.com
(cherry picked from commit bf6aa72 linux-next)
Signed-off-by: Andrea Righi <arighi@nvidia.com>
Acked-by: Seth Forshee <sforshee@nvidia.com>
Acked-by: Nirmoy Das <nirmoyd@nvidia.com>
Acked-by: Matthew R. Ochs <mochs@nvidia.com>
Signed-off-by: Seth Forshee <sforshee@nvidia.com>1 parent f30f6ed commit 09fceee
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9496 | 9496 | | |
9497 | 9497 | | |
9498 | 9498 | | |
| 9499 | + | |
9499 | 9500 | | |
9500 | 9501 | | |
9501 | 9502 | | |
| |||
10737 | 10738 | | |
10738 | 10739 | | |
10739 | 10740 | | |
| 10741 | + | |
| 10742 | + | |
| 10743 | + | |
| 10744 | + | |
| 10745 | + | |
10740 | 10746 | | |
10741 | 10747 | | |
10742 | 10748 | | |
10743 | | - | |
| 10749 | + | |
| 10750 | + | |
10744 | 10751 | | |
10745 | 10752 | | |
10746 | 10753 | | |
| |||
11307 | 11314 | | |
11308 | 11315 | | |
11309 | 11316 | | |
| 11317 | + | |
| 11318 | + | |
11310 | 11319 | | |
11311 | 11320 | | |
11312 | 11321 | | |
| |||
0 commit comments