[GIT PULL] sched_ext: Fixes for v6.17-rc7

From: Tejun Heo

Date: Mon Sep 22 2025 - 12:49:55 EST


The following changes since commit a1eab4d813f7b6e606ed21381b8cfda5c59a87e5:

sched_ext, sched/core: Fix build failure when !FAIR_GROUP_SCHED && EXT_GROUP_SCHED (2025-09-16 23:07:27 -1000)

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.17-rc7-fixes

for you to fetch changes up to 55ed11b181c43d81ce03b50209e4e7c4a14ba099:

sched_ext: idle: Handle migration-disabled tasks in BPF code (2025-09-22 06:24:44 -1000)

----------------------------------------------------------------
sched_ext: Fixes for v6.17-rc7

This contains a fix for sched_ext idle CPU selection that likely fixes
a substantial performance regression.

The scx_bpf_select_cpu_dfl/and() kfuncs were incorrectly detecting all
tasks as migration-disabled when called outside ops.select_cpu(), causing
them to always return -EBUSY instead of finding idle CPUs. The fix properly
distinguishes between genuinely migration-disabled tasks vs. the current
task whose migration is temporarily disabled by BPF execution.

----------------------------------------------------------------
Andrea Righi (1):
sched_ext: idle: Handle migration-disabled tasks in BPF code

kernel/sched/ext_idle.c | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)

--
tejun