From: Tejun Heo <tj@kernel.org>
To: David Vernet <void@manifault.com>,
Andrea Righi <arighi@nvidia.com>,
Changwoo Min <changwoo@igalia.com>
Cc: Gavin Guo <gavinguo@igalia.com>,
Emil Tsalapatis <emil@etsalapatis.com>,
sched-ext@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: [PATCHSET sched_ext/for-7.3-fixes] sched_ext: Sync tools headers from the scx repo
Date: Tue, 18 Aug 2026 10:57:09 -1000 [thread overview]
Message-ID: <20260818205711.3175265-1-tj@kernel.org> (raw)
Hello,
The scx repo carries copies of the tools/sched_ext/include/scx headers
which accumulated fixes and improvements that the kernel copies lack. Sync
them back:
- __COMPAT_read_enum() can now recover 64-bit scx enum values on kernels
whose BTF lacks BTF_KIND_ENUM64 encoding, backed by a new autogenerated
enumerator ABI table.
- is_migration_disabled() no longer under-reports for the current task on
v6.18+ !PREEMPT_RCU kernels where the BPF prolog stopped disabling
migration.
- The scx_bpf_dsq_peek() version gate and
scx_bpf_reenqueue_local_from_anywhere() which Gavin and Changwoo posted
are picked up with the review feedback folded in.
- __COMPAT_scx_bpf_cpu_curr() is restored for schedulers which still run
on pre-v6.18 kernels, and the rq clock helpers document their stale-read
behavior on idle CPUs.
This patchset contains the following two patches:
0001-sched_ext-Sync-tools-autogen-enum-headers-from-the-s.patch
0002-sched_ext-Sync-common-and-compat-headers-from-the-sc.patch
and is also available in the following git branch:
git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git scx-tools-header-sync
Based on sched_ext/for-7.3-fixes (5f01293930d1).
tools/sched_ext/include/scx/common.bpf.h | 140 ++++++++++++---
tools/sched_ext/include/scx/compat.bpf.h | 68 ++++++--
tools/sched_ext/include/scx/compat.h | 97 +++++++++++
tools/sched_ext/include/scx/enum_defs.autogen.h | 5 +-
tools/sched_ext/include/scx/enums_abi.autogen.h | 223 ++++++++++++++++++++++++
5 files changed, 501 insertions(+), 32 deletions(-)
Thanks.
--
tejun
next reply other threads:[~2026-08-18 20:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-18 20:57 Tejun Heo [this message]
2026-08-18 20:57 ` [PATCH 1/2] sched_ext: Sync tools autogen enum headers from the scx repo Tejun Heo
2026-08-18 20:57 ` [PATCH 2/2] sched_ext: Sync common and compat " Tejun Heo
2026-08-18 21:07 ` sashiko-bot
2026-08-18 21:33 ` Tejun Heo
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=20260818205711.3175265-1-tj@kernel.org \
--to=tj@kernel.org \
--cc=arighi@nvidia.com \
--cc=changwoo@igalia.com \
--cc=emil@etsalapatis.com \
--cc=gavinguo@igalia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sched-ext@lists.linux.dev \
--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.