mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] sched_ext: Fixes for v7.4-rc4
@ 2026-11-25  9:40 Tejun Heo
  0 siblings, 0 replies; only message in thread
From: Tejun Heo @ 2026-11-25  9:40 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: David Vernet, Andrea Righi, Changwoo Min, Emil Tsalapatis,
	David Dai, sched-ext, linux-kernel

Hello,

The following changes since commit 700a332c3fe33014bbd5ae852d71ba679fc29e0a:

  sched_ext: Reject DSQ iterator kfuncs in tracing programs (2026-11-12 07:30:07 -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-7.4-rc4-fixes

for you to fetch changes up to 97e1c7d467d07734f8f5c8c64730e1f7c415bd46:

  sched_ext: Attach fair_server before tasks fall back to fair on disable (2026-11-24 22:48:52 -1000)

----------------------------------------------------------------
sched_ext: Fixes for v7.4-rc4

- Scheduler enable and disable could race with tasks changing class: on
  enable, a task could switch to sched_ext before the scheduler core started
  picking sched_ext tasks and be left runnable while its CPU went idle. On
  disable, an RT task could starve the tasks falling back to the fair class
  and stall the disable itself.

- BPF schedulers failed to load on architectures whose BPF JIT doesn't
  support private stacks, such as riscv64. Only sub-schedulers need them and
  are now refused there instead.

- The debug dump and CPU ID layout callbacks could call kfuncs that move
  tasks around. They are now rejected at load time.

- Smaller fixes: a task's first enqueue after fork didn't tell the BPF
  scheduler that CPU selection had already run, and two kfuncs raised a
  false RCU lockdep warning in BPF timer callbacks.

----------------------------------------------------------------
Cheng-Yang Chou (1):
      sched_ext: Don't request private stacks the JIT can't provide

Hang Zhengyang (1):
      sched_ext: Attach fair_server before tasks fall back to fair on disable

Kuba Piecuch (4):
      sched_ext: Don't route tasks to SCX before __scx_enabled is fully patched
      sched_ext: Fix suspicious RCU usage in KF_RCU_PROTECTED kfuncs
      sched_ext: Don't allow unlocked kfuncs from ops.dump() and ops.init_cids()
      selftests/sched_ext: Add unlocked_kfunc test

Tao Cui (1):
      sched/core: Pass ENQUEUE_RQ_SELECTED on initial enqueue

 kernel/sched/core.c                                |  5 +-
 kernel/sched/ext/ext.c                             | 79 +++++++++++++++-------
 kernel/sched/ext/sub.c                             |  6 ++
 tools/testing/selftests/sched_ext/Makefile         |  1 +
 .../selftests/sched_ext/unlocked_kfunc.bpf.c       | 69 +++++++++++++++++++
 tools/testing/selftests/sched_ext/unlocked_kfunc.c | 73 ++++++++++++++++++++
 .../selftests/sched_ext/unlocked_kfunc_cid.bpf.c   | 67 ++++++++++++++++++
 .../sched_ext/unlocked_kfunc_fail_dump.bpf.c       | 26 +++++++
 .../sched_ext/unlocked_kfunc_fail_init_cids.bpf.c  | 22 ++++++
 9 files changed, 323 insertions(+), 25 deletions(-)
 create mode 100644 tools/testing/selftests/sched_ext/unlocked_kfunc.bpf.c
 create mode 100644 tools/testing/selftests/sched_ext/unlocked_kfunc.c
 create mode 100644 tools/testing/selftests/sched_ext/unlocked_kfunc_cid.bpf.c
 create mode 100644 tools/testing/selftests/sched_ext/unlocked_kfunc_fail_dump.bpf.c
 create mode 100644 tools/testing/selftests/sched_ext/unlocked_kfunc_fail_init_cids.bpf.c

-- 
tejun

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-25  9:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25  9:40 [GIT PULL] sched_ext: Fixes for v7.4-rc4 Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®