From: Tejun Heo <tj@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: David Vernet <void@manifault.com>,
Andrea Righi <arighi@nvidia.com>,
Changwoo Min <changwoo@igalia.com>,
Emil Tsalapatis <emil@etsalapatis.com>,
sched-ext@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: [GIT PULL] sched_ext: Fixes for v7.0-rc6
Date: Tue, 31 Mar 2026 09:43:32 -1000 [thread overview]
Message-ID: <cee468347c00b1b5158d0c3e54fb9573@kernel.org> (raw)
Hello,
The following changes since commit 2fcfe5951eb2e8440fc5e1dd6ea977336ff83a1d:
sched_ext: Use WRITE_ONCE() for the write side of scx_enable helper pointer (2026-03-09 06:08:26 -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.0-rc6-fixes
for you to fetch changes up to 090d34f0f0285124452373225bcc520a31e305e4:
selftests/sched_ext: Add cyclic SCX_KICK_WAIT stress test (2026-03-30 08:37:55 -1000)
----------------------------------------------------------------
sched_ext: Fixes for v7.0-rc6
- Fix SCX_KICK_WAIT deadlock where multiple CPUs waiting for each other in
hardirq context form a cycle. Move the wait to a balance callback which
can drop the rq lock and process IPIs.
- Fix inconsistent NUMA node lookup in scx_select_cpu_dfl() where the
waker_node used cpu_to_node() while prev_cpu used
scx_cpu_node_if_enabled(), leading to undefined behavior when per-node
idle tracking is disabled.
----------------------------------------------------------------
Cheng-Yang Chou (1):
sched_ext: Fix inconsistent NUMA node lookup in scx_select_cpu_dfl()
Tejun Heo (2):
sched_ext: Fix SCX_KICK_WAIT deadlock by deferring wait to balance callback
selftests/sched_ext: Add cyclic SCX_KICK_WAIT stress test
kernel/sched/ext.c | 95 +++++++---
kernel/sched/ext_idle.c | 2 +-
kernel/sched/sched.h | 3 +
tools/testing/selftests/sched_ext/Makefile | 1 +
.../selftests/sched_ext/cyclic_kick_wait.bpf.c | 68 ++++++++
.../testing/selftests/sched_ext/cyclic_kick_wait.c | 194 +++++++++++++++++++++
6 files changed, 337 insertions(+), 26 deletions(-)
create mode 100644 tools/testing/selftests/sched_ext/cyclic_kick_wait.bpf.c
create mode 100644 tools/testing/selftests/sched_ext/cyclic_kick_wait.c
--
tejun
next reply other threads:[~2026-03-31 19:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-31 19:43 Tejun Heo [this message]
2026-03-31 21:34 ` [GIT PULL] sched_ext: Fixes for v7.0-rc6 pr-tracker-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cee468347c00b1b5158d0c3e54fb9573@kernel.org \
--to=tj@kernel.org \
--cc=arighi@nvidia.com \
--cc=changwoo@igalia.com \
--cc=emil@etsalapatis.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sched-ext@lists.linux.dev \
--cc=torvalds@linux-foundation.org \
--cc=void@manifault.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.