]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tools/sched_ext: Receive updates from SCX repo
authorAndrea Righi <arighi@nvidia.com>
Mon, 4 Aug 2025 11:04:49 +0000 (13:04 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 11 Aug 2025 18:21:57 +0000 (08:21 -1000)
commitde68c05189cc4508c3ac4e1e44da1ddb16b1bceb
tree77e1e875b14e01ae82af84da1ff3e3f76c4cbf5f
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
tools/sched_ext: Receive updates from SCX repo

Receive tools/sched_ext updates form https://github.com/sched-ext/scx to
sync userspace bits:

 - basic BPF arena allocator abstractions,

 - additional process flags definitions,

 - fixed is_migration_disabled() helper,

 - separate out user_exit_info BPF and user space code.

This also fixes the following warning when building the selftests:

 tools/sched_ext/include/scx/common.bpf.h:550:9: warning: 'likely' macro redefined [-Wmacro-redefined]
  550 | #define likely(x) __builtin_expect(!!(x), 1)
      |         ^

Co-developed-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
13 files changed:
tools/sched_ext/include/scx/bpf_arena_common.bpf.h [new file with mode: 0644]
tools/sched_ext/include/scx/bpf_arena_common.h [new file with mode: 0644]
tools/sched_ext/include/scx/common.bpf.h
tools/sched_ext/include/scx/common.h
tools/sched_ext/include/scx/compat.bpf.h
tools/sched_ext/include/scx/user_exit_info.bpf.h [new file with mode: 0644]
tools/sched_ext/include/scx/user_exit_info.h
tools/sched_ext/include/scx/user_exit_info_common.h [new file with mode: 0644]
tools/sched_ext/scx_central.bpf.c
tools/sched_ext/scx_central.c
tools/sched_ext/scx_flatcg.bpf.c
tools/sched_ext/scx_flatcg.c
tools/sched_ext/scx_simple.c