Re: [PATCHSET v3 sched_ext/for-7.1] sched_ext: Implement cgroup sub-scheduler support

From: Tejun Heo

Date: Thu Mar 05 2026 - 23:09:48 EST


> Tejun Heo (34):
> sched_ext: Implement cgroup subtree iteration for scx_task_iter
> sched_ext: Add @kargs to scx_fork()
> sched/core: Swap the order between sched_post_fork() and cgroup_post_fork()
> cgroup: Expose some cgroup helpers
> sched_ext: Update p->scx.disallow warning in scx_init_task()
> sched_ext: Reorganize enable/disable path for multi-scheduler support
> sched_ext: Introduce cgroup sub-sched support
> sched_ext: Introduce scx_task_sched[_rcu]()
> sched_ext: Introduce scx_prog_sched()
> sched_ext: Enforce scheduling authority in dispatch and select_cpu operations
> sched_ext: Enforce scheduler ownership when updating slice and dsq_vtime
> sched_ext: scx_dsq_move() should validate the task belongs to the right scheduler
> sched_ext: Refactor task init/exit helpers
> sched_ext: Make scx_prio_less() handle multiple schedulers
> sched_ext: Move default slice to per-scheduler field
> sched_ext: Move aborting flag to per-scheduler field
> sched_ext: Move bypass_dsq into scx_sched_pcpu
> sched_ext: Move bypass state into scx_sched
> sched_ext: Prepare bypass mode for hierarchical operation
> sched_ext: Factor out scx_dispatch_sched()
> sched_ext: When calling ops.dispatch() @prev must be on the same scx_sched
> sched_ext: Separate bypass dispatch enabling from bypass depth tracking
> sched_ext: Implement hierarchical bypass mode
> sched_ext: Dispatch from all scx_sched instances
> sched_ext: Move scx_dsp_ctx and scx_dsp_max_batch into scx_sched
> sched_ext: Make watchdog sub-sched aware
> sched_ext: Convert scx_dump_state() spinlock to raw spinlock
> sched_ext: Support dumping multiple schedulers and add scheduler identification
> sched_ext: Implement cgroup sub-sched enabling and disabling
> sched_ext: Add scx_sched back pointer to scx_sched_pcpu
> sched_ext: Make scx_bpf_reenqueue_local() sub-sched aware
> sched_ext: Factor out scx_link_sched() and scx_unlink_sched()
> sched_ext: Add rhashtable lookup for sub-schedulers
> sched_ext: Add basic building blocks for nested sub-scheduler dispatching

Applied 1-34 to sched_ext/for-7.1.

Thanks.

--
tejun