]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched_ext: switch class when preempted by higher priority scheduler
authorHonglei Wang <jameshongleiwang@126.com>
Wed, 8 Jan 2025 02:33:28 +0000 (10:33 +0800)
committerTejun Heo <tj@kernel.org>
Wed, 8 Jan 2025 16:51:40 +0000 (06:51 -1000)
commit68e449d849fd50bd5e61d8bd32b3458dbd3a3df6
tree6ce4c4cfb0eb8d1a949545c4910f049c36c15a34
parent6268d5bc10354fc2ab8d44a0cd3b042d49a0417e
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 f422316d7466 ("sched_ext: Remove switch_class_scx()"). Let's fix
it.

Fixes: f422316d7466 ("sched_ext: Remove switch_class_scx()")
Signed-off-by: Honglei Wang <jameshongleiwang@126.com>
Acked-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c