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

From: Tejun Heo
Date: Tue Oct 15 2024 - 16:38:44 EST


The following changes since commit e0ed52154e866a1e9e9b97ded50b164698f0a222:

sched_ext: Documentation: Update instructions for running example schedulers (2024-10-08 08:49:18 -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-rc3-fixes

for you to fetch changes up to 60e339be100d7d49e13616bd8b4b1b864f0a64a0:

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

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

- More issues reported in the enable/disable paths on large machines with
many tasks due to scx_tasks_lock being held too long. Break up the task
iterations.

- Remove ops.select_cpu() dependency in bypass mode so that a misbehaving
implementation can't live-lock the machine by pushing all tasks to few
CPUs in bypass mode.

- Other misc fixes.

----------------------------------------------------------------
Björn Töpel (1):
selftests: sched_ext: Add sched_ext as proper selftest target

David Vernet (1):
sched_ext: Remove unnecessary cpu_relax()

Honglei Wang (1):
sched_ext: use correct function name in pick_task_scx() warning message

Tejun Heo (6):
Revert "sched_ext: Use shorter slice while bypassing"
sched_ext: Start schedulers with consistent p->scx.slice values
sched_ext: Move scx_buildin_idle_enabled check to scx_bpf_select_cpu_dfl()
sched_ext: bypass mode shouldn't depend on ops.select_cpu()
sched_ext: Move scx_tasks_lock handling into scx_task_iter helpers
sched_ext: Don't hold scx_tasks_lock for too long

kernel/sched/ext.c | 186 ++++++++++++++++-------------
tools/testing/selftests/Makefile | 9 +-
tools/testing/selftests/sched_ext/Makefile | 71 +++++------
3 files changed, 138 insertions(+), 128 deletions(-)

--
tejun