[GIT PULL] sched_ext: Fixes for v6.19-rc1

From: Tejun Heo

Date: Mon Dec 15 2025 - 11:56:51 EST


Hi,

The following changes since commit c2f2b01b74be8b40a2173372bcd770723f87e7b2:

Merge tag 'i3c/for-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux (2025-12-08 11:25:14 +0900)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git tags/sched_ext-for-6.19-rc1-fixes

for you to fetch changes up to bb27226f0d00588ac53be8825e021ae80aa43371:

sched_ext: Remove unused code in the do_pick_task_scx() (2025-12-15 05:53:49 -1000)

----------------------------------------------------------------
sched_ext: Fixes for v6.19-rc1

- Fix memory leak when destroying helper kthread workers during scheduler
disable.

- Fix bypass depth accounting on scx_enable() failure which could leave
the system permanently in bypass mode.

- Fix missing preemption handling when moving tasks to local DSQs via
scx_bpf_dsq_move().

- Misc fixes including NULL check for put_prev_task(), flushing stdout in
selftests, and removing unused code.

----------------------------------------------------------------
Emil Tsalapatis (1):
selftests/sched_ext: flush stdout before test to avoid log spam

John Stultz (1):
sched/ext: Avoid null ptr traversal when ->put_prev_task() is called with NULL next

Tejun Heo (3):
sched_ext: Fix bypass depth leak on scx_enable() failure
sched_ext: Factor out local_dsq_post_enq() from dispatch_enqueue()
sched_ext: Fix missing post-enqueue handling in move_local_task_to_local_dsq()

Zqiang (2):
sched_ext: Fix the memleak for sch->helper objects
sched_ext: Remove unused code in the do_pick_task_scx()

kernel/sched/ext.c | 72 ++++++++++++++++++++----------
tools/testing/selftests/sched_ext/runner.c | 8 ++++
2 files changed, 56 insertions(+), 24 deletions(-)

Thanks.

--
tejun