Commit e6d3c4e
committed
Merge tag 'sched_ext-for-6.14-rc4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext
Pull sched_ext fix from Tejun Heo:
"pick_task_scx() has a workaround to avoid stalling when the fair
class's balance() says yes but pick_task() says no.
The workaround was incorrectly deciding to keep the prev taks running
if the task is on SCX even when the task is in a sleeping state, which
can lead to several confusing failure modes.
Fix it by testing the prev task is currently queued on SCX instead"
* tag 'sched_ext-for-6.14-rc4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext:
sched_ext: Fix pick_task_scx() picking non-queued tasks when it's called without balance()1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3117 | 3117 | | |
3118 | 3118 | | |
3119 | 3119 | | |
3120 | | - | |
3121 | 3120 | | |
3122 | 3121 | | |
3123 | 3122 | | |
| |||
3137 | 3136 | | |
3138 | 3137 | | |
3139 | 3138 | | |
3140 | | - | |
| 3139 | + | |
3141 | 3140 | | |
3142 | 3141 | | |
3143 | 3142 | | |
3144 | 3143 | | |
3145 | 3144 | | |
3146 | | - | |
3147 | | - | |
| 3145 | + | |
| 3146 | + | |
| 3147 | + | |
| 3148 | + | |
| 3149 | + | |
| 3150 | + | |
3148 | 3151 | | |
3149 | 3152 | | |
3150 | 3153 | | |
| |||
0 commit comments