[PATCH v2 0/2] sched_ext cleanup and toolchain compatibility fixes

Zhao Mengmeng posted 2 patches 1 month ago
kernel/sched/ext.c                            |  3 ---
kernel/sched/ext_internal.h                   |  8 +-------
.../sched_ext/include/scx/enum_defs.autogen.h |  1 -
tools/sched_ext/scx_flatcg.bpf.c              |  2 +-
tools/sched_ext/scx_sdt.bpf.c                 | 20 ++++++++++++++++++-
5 files changed, 21 insertions(+), 13 deletions(-)
[PATCH v2 0/2] sched_ext cleanup and toolchain compatibility fixes
Posted by Zhao Mengmeng 1 month ago
From: Zhao Mengmeng <zhaomengmeng@kylinos.cn>

This series contains commits rebase on lastest for-next branch:
1. remove SCX_OPS_HAS_CGROUP_WEIGHT, which was documented to
be deleted on 6.18.
2. Make scheduler scx_sdt runnable on older clang version. clang 17 and
18 tested with no verifier rejections.

Zhao Mengmeng (2):
  sched_ext: remove SCX_OPS_HAS_CGROUP_WEIGHT
  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 |  1 -
 tools/sched_ext/scx_flatcg.bpf.c              |  2 +-
 tools/sched_ext/scx_sdt.bpf.c                 | 20 ++++++++++++++++++-
 5 files changed, 21 insertions(+), 13 deletions(-)

-- 
2.43.0
Re: [PATCH v2 0/2] sched_ext: cleanup and toolchain compatibility fixes
Posted by Tejun Heo 1 month ago
> Zhao Mengmeng (2):
>   sched_ext: remove SCX_OPS_HAS_CGROUP_WEIGHT
>   tools/sched_ext: scx_sdt: Fix BPF verifier rejection on older LLVMs

Applied 1 to sched_ext/for-7.1.

Thanks.

--
tejun