[PATCH 0/3] sched_ext cleanup and toolchain compatibility fixes

Zhao Mengmeng posted 3 patches 1 month ago
There is a newer version of this series
kernel/sched/ext.c                            |  3 ---
kernel/sched/ext_internal.h                   |  8 +-----
.../sched_ext/include/scx/enum_defs.autogen.h | 26 ++++++++++++++-----
.../sched_ext/include/scx/enums.autogen.bpf.h |  4 +--
tools/sched_ext/include/scx/enums.autogen.h   |  3 +--
tools/sched_ext/scx_flatcg.bpf.c              |  2 +-
tools/sched_ext/scx_sdt.bpf.c                 | 20 +++++++++++++-
7 files changed, 42 insertions(+), 24 deletions(-)
[PATCH 0/3] sched_ext cleanup and toolchain compatibility fixes
Posted by Zhao Mengmeng 1 month ago
From: Zhao Mengmeng <zhaomengmeng@kylinos.cn>

This series contains:
1. remove SCX_OPS_HAS_CGROUP_WEIGHT, which was documented to
be deleted on 6.18. 
2. Update scx enum autogens by using scripts in scx repo.
3. Make scheduler scx_sdt runnable on older clang version. clang 17 and
18 tested with no verifier rejections.

Zhao Mengmeng (3):
  sched_ext: remove SCX_OPS_HAS_CGROUP_WEIGHT
  tools/sched_ext: Update scx enum autogens
  tools/sched_ext: scx_sdt: Fix BPF verifier rejection on older LLVMs

 kernel/sched/ext.c                            |  3 ---
 kernel/sched/ext_internal.h                   |  8 +-----
 .../sched_ext/include/scx/enum_defs.autogen.h | 26 ++++++++++++++-----
 .../sched_ext/include/scx/enums.autogen.bpf.h |  4 +--
 tools/sched_ext/include/scx/enums.autogen.h   |  3 +--
 tools/sched_ext/scx_flatcg.bpf.c              |  2 +-
 tools/sched_ext/scx_sdt.bpf.c                 | 20 +++++++++++++-
 7 files changed, 42 insertions(+), 24 deletions(-)

-- 
2.43.0