]> git.ipfire.org Git - thirdparty/linux.git/commit
sched_ext: Factor out scx_link_sched() and scx_unlink_sched()
authorTejun Heo <tj@kernel.org>
Fri, 6 Mar 2026 17:58:04 +0000 (07:58 -1000)
committerTejun Heo <tj@kernel.org>
Fri, 6 Mar 2026 17:58:04 +0000 (07:58 -1000)
commit54be8de4236a52b301825cb51c6d5fdecb2fd6b8
tree155e97f1dea40dd6ba382be093dc89594a0c2409
parent0d8c551dd5de1c157600da05a01e3147115dfbb4
sched_ext: Factor out scx_link_sched() and scx_unlink_sched()

Factor out scx_link_sched() and scx_unlink_sched() functions to reduce
code duplication in the scheduler enable/disable paths.

No functional change.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
kernel/sched/ext.c