]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched_ext: Dispatch from all scx_sched instances
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)
commit0203e0c3f64c6e5b1cb8c28a6661e246feb8043c
tree8a704146f816b966657754b2ca865108029693e1
parent025b1bd419653f181c8b9c748aa07802177ff828
sched_ext: Dispatch from all scx_sched instances

The cgroup sub-sched support involves invasive changes to many areas of
sched_ext. The overall scaffolding is now in place and the next step is
implementing sub-sched enable/disable.

To enable partial testing and verification, update balance_one() to
dispatch from all scx_sched instances until it finds a task to run. This
should keep scheduling working when sub-scheds are enabled with tasks on
them. This will be replaced by BPF-driven hierarchical operation.

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