Commit 68e449d
sched_ext: switch class when preempted by higher priority scheduler
ops.cpu_release() function, if defined, must be invoked when preempted by
a higher priority scheduler class task. This scenario was skipped in
commit f422316 ("sched_ext: Remove switch_class_scx()"). Let's fix
it.
Fixes: f422316 ("sched_ext: Remove switch_class_scx()")
Signed-off-by: Honglei Wang <[email protected]>
Acked-by: Andrea Righi <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>1 parent 6268d5b commit 68e449d
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3037 | 3037 | | |
3038 | 3038 | | |
3039 | 3039 | | |
3040 | | - | |
| 3040 | + | |
3041 | 3041 | | |
3042 | 3042 | | |
3043 | 3043 | | |
| |||
3054 | 3054 | | |
3055 | 3055 | | |
3056 | 3056 | | |
| 3057 | + | |
3057 | 3058 | | |
3058 | 3059 | | |
3059 | 3060 | | |
| |||
0 commit comments