[GIT PULL] sched_ext: Fixes for v6.15-rc0

From: Tejun Heo
Date: Wed Apr 02 2025 - 18:45:25 EST


Note: Trying sending out accumulated patches sooner even during a merge
window. If you don't like it, please let me know.

The following changes since commit f6e0150b2003fb2b9265028a618aa1732b3edc8f:

Merge tag 'mtd/for-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux (2025-03-26 10:28:36 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git/ tags/sched_ext-for-6.15-rc0-fixes

for you to fetch changes up to 2bac648dab395be0ad0d55b9c2ae7723e71e233e:

tools/sched_ext: Sync with scx repo (2025-04-02 09:08:33 -1000)

----------------------------------------------------------------
sched_ext: Fixes for v6.15-rc0

- Calling scx_bpf_create_dsq() with the same ID would succeed creating
duplicate DSQs. Fix it to return -EEXIST.

- scx_select_cpu_dfl() fixes and cleanups.

- Synchronize tool/sched_ext with external scheduler repo. While this isn't
a fix. There's no risk to the kernel and it's better if they stay synced
closer.

----------------------------------------------------------------
Andrea Righi (2):
sched_ext: idle: Fix return code of scx_select_cpu_dfl()
sched_ext: initialize built-in idle state before ops.init()

Jake Hillion (1):
sched_ext: create_dsq: Return -EEXIST on duplicate request

Tejun Heo (2):
sched_ext: Remove a meaningless conditional goto in scx_select_cpu_dfl()
tools/sched_ext: Sync with scx repo

kernel/sched/ext.c | 8 +--
kernel/sched/ext_idle.c | 12 ++--
tools/sched_ext/include/scx/common.bpf.h | 85 +++++++++++++++++--------
tools/sched_ext/include/scx/enum_defs.autogen.h | 3 +
tools/sched_ext/include/scx/enums.autogen.bpf.h | 24 +++++++
tools/sched_ext/include/scx/enums.autogen.h | 8 +++
tools/sched_ext/include/scx/enums.h | 3 +-
7 files changed, 103 insertions(+), 40 deletions(-)

--
tejun