]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched_ext: Move scx_dsp_ctx and scx_dsp_max_batch into scx_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)
commit34ecfb355104c29734c124b35ffd598a49e62156
tree2bd6bc25156a1c7837afb93ace60c73f2b6fb841
parent0203e0c3f64c6e5b1cb8c28a6661e246feb8043c
sched_ext: Move scx_dsp_ctx and scx_dsp_max_batch into scx_sched

scx_dsp_ctx and scx_dsp_max_batch are global variables used in the dispatch
path. In prepration for multiple scheduler support, move the former into
scx_sched_pcpu and the latter into scx_sched. No user-visible behavior
changes intended.

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