[GIT PULL] sched_ext: Fixes for v6.12-rc5

From: Tejun Heo
Date: Tue Oct 29 2024 - 20:40:34 EST


The following changes since commit 60e339be100d7d49e13616bd8b4b1b864f0a64a0:

sched_ext: Remove unnecessary cpu_relax() (2024-10-14 13:23:49 -1000)

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.12-rc5-fixes

for you to fetch changes up to c31f2ee5cd7da3086eb4fbeef9f3afdc8e01d36b:

sched_ext: Fix enq_last_no_enq_fails selftest (2024-10-25 12:20:29 -1000)

----------------------------------------------------------------
sched_ext: Fixes for v6.12-rc5

- Instances of scx_ops_bypass() could race each other leading to
misbehavior. Fix by protecting the operation with a spinlock.

- selftest and userspace header fixes.

----------------------------------------------------------------
David Vernet (2):
scx: Fix exit selftest to use custom DSQ
scx: Fix raciness in scx_ops_bypass()

Ihor Solodrai (1):
selftests/sched_ext: add order-only dependency of runner.o on BPFOBJ

Tejun Heo (2):
sched_ext: Make cast_mask() inline
sched_ext: Fix enq_last_no_enq_fails selftest

Vishal Chourasia (1):
sched_ext: Fix function pointer type mismatches in BPF selftests

kernel/sched/ext.c | 29 ++++++-----
tools/sched_ext/include/scx/common.bpf.h | 2 +-
tools/testing/selftests/sched_ext/Makefile | 2 +-
tools/testing/selftests/sched_ext/create_dsq.bpf.c | 6 +--
.../selftests/sched_ext/ddsp_bogus_dsq_fail.bpf.c | 4 +-
.../selftests/sched_ext/ddsp_vtimelocal_fail.bpf.c | 4 +-
.../testing/selftests/sched_ext/dsp_local_on.bpf.c | 8 +--
.../sched_ext/enq_last_no_enq_fails.bpf.c | 8 +++
.../selftests/sched_ext/enq_last_no_enq_fails.c | 10 ++--
.../selftests/sched_ext/enq_select_cpu_fails.bpf.c | 4 +-
tools/testing/selftests/sched_ext/exit.bpf.c | 22 ++++----
tools/testing/selftests/sched_ext/hotplug.bpf.c | 8 +--
.../selftests/sched_ext/init_enable_count.bpf.c | 8 +--
tools/testing/selftests/sched_ext/maximal.bpf.c | 58 +++++++++++-----------
tools/testing/selftests/sched_ext/maybe_null.bpf.c | 6 +--
.../selftests/sched_ext/maybe_null_fail_dsp.bpf.c | 4 +-
.../selftests/sched_ext/maybe_null_fail_yld.bpf.c | 4 +-
tools/testing/selftests/sched_ext/prog_run.bpf.c | 2 +-
.../selftests/sched_ext/select_cpu_dfl.bpf.c | 2 +-
.../sched_ext/select_cpu_dfl_nodispatch.bpf.c | 6 +--
.../selftests/sched_ext/select_cpu_dispatch.bpf.c | 2 +-
.../sched_ext/select_cpu_dispatch_bad_dsq.bpf.c | 4 +-
.../sched_ext/select_cpu_dispatch_dbl_dsp.bpf.c | 4 +-
.../selftests/sched_ext/select_cpu_vtime.bpf.c | 12 ++---
24 files changed, 119 insertions(+), 100 deletions(-)

--
tejun