]> www.infradead.org Git - nvme.git/commit
tools/sched_ext: Sync with scx repo
authorTejun Heo <tj@kernel.org>
Wed, 2 Apr 2025 19:08:33 +0000 (09:08 -1000)
committerTejun Heo <tj@kernel.org>
Wed, 2 Apr 2025 19:08:33 +0000 (09:08 -1000)
commit2bac648dab395be0ad0d55b9c2ae7723e71e233e
treedb0932151454f9573719bb0862b1b6990f563466
parentf0c6eab5e45c529f449fbc595873719e00de6d79
tools/sched_ext: Sync with scx repo

Synchronize with https://github.com/sched-ext/scx at dc44584874f0 ("kernel:
Synchronize with kernel tools/sched_ext").

- READ/WRITE_ONCE() is made more proper and READA_ONCE_ARENA() is dropped.

- scale_by_task_weight[_inverse]() helpers added.

- Enum defs expanded to cover more and new enums.

- Don't trigger fatal error when some enums are missing from kernel BTF.

Signed-off-by: Tejun Heo <tj@kernel.org>
tools/sched_ext/include/scx/common.bpf.h
tools/sched_ext/include/scx/enum_defs.autogen.h
tools/sched_ext/include/scx/enums.autogen.bpf.h
tools/sched_ext/include/scx/enums.autogen.h
tools/sched_ext/include/scx/enums.h