Commit 5343936
Peter Zijlstra
sched: Audit MOVE vs balance_callbacks
The {DE,EN}QUEUE_MOVE flag indicates a task is allowed to change
priority, which means there could be balance callbacks queued.
Therefore audit all MOVE users and make sure they do run balance
callbacks before dropping rq-lock.
Fixes: 6455ad5 ("sched: Move sched_class::prio_changed() into the change pattern")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Pierre Gondois <pierre.gondois@arm.com>
Tested-by: Juri Lelli <juri.lelli@redhat.com>
Link: https://patch.msgid.link/20260114130528.GB831285@noisy.programming.kicks-ass.net1 parent 49041e8 commit 5343936
3 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4950 | 4950 | | |
4951 | 4951 | | |
4952 | 4952 | | |
4953 | | - | |
| 4953 | + | |
4954 | 4954 | | |
4955 | 4955 | | |
4956 | 4956 | | |
| |||
9126 | 9126 | | |
9127 | 9127 | | |
9128 | 9128 | | |
| 9129 | + | |
| 9130 | + | |
9129 | 9131 | | |
9130 | 9132 | | |
9131 | 9133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
| 548 | + | |
548 | 549 | | |
549 | 550 | | |
550 | 551 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2388 | 2388 | | |
2389 | 2389 | | |
2390 | 2390 | | |
2391 | | - | |
| 2391 | + | |
| 2392 | + | |
2392 | 2393 | | |
2393 | 2394 | | |
2394 | 2395 | | |
| |||
3969 | 3970 | | |
3970 | 3971 | | |
3971 | 3972 | | |
| 3973 | + | |
| 3974 | + | |
3972 | 3975 | | |
3973 | 3976 | | |
3974 | 3977 | | |
| |||
0 commit comments