Skip to content
Commit 68e449d8 authored by Honglei Wang's avatar Honglei Wang Committed by Tejun Heo
Browse files

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 f422316d ("sched_ext: Remove switch_class_scx()"). Let's fix
it.

Fixes: f422316d ("sched_ext: Remove switch_class_scx()")
Signed-off-by: default avatarHonglei Wang <jameshongleiwang@126.com>
Acked-by: default avatarAndrea Righi <arighi@nvidia.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 6268d5bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment