All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET sched_ext/for-7.3-fixes] sched_ext: Sync tools headers from the scx repo
@ 2026-08-18 20:57 Tejun Heo
  2026-08-18 20:57 ` [PATCH 1/2] sched_ext: Sync tools autogen enum " Tejun Heo
  2026-08-18 20:57 ` [PATCH 2/2] sched_ext: Sync common and compat " Tejun Heo
  0 siblings, 2 replies; 5+ messages in thread
From: Tejun Heo @ 2026-08-18 20:57 UTC (permalink / raw)
  To: David Vernet, Andrea Righi, Changwoo Min
  Cc: Gavin Guo, Emil Tsalapatis, sched-ext, linux-kernel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-08-18 21:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-18 20:57 [PATCHSET sched_ext/for-7.3-fixes] sched_ext: Sync tools headers from the scx repo Tejun Heo
2026-08-18 20:57 ` [PATCH 1/2] sched_ext: Sync tools autogen enum " 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

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.