]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/sched_ext: Provide consistent access to scx flags
authorAndrea Righi <arighi@nvidia.com>
Mon, 24 Feb 2025 22:49:59 +0000 (23:49 +0100)
committerTejun Heo <tj@kernel.org>
Tue, 25 Feb 2025 18:36:36 +0000 (08:36 -1000)
commit5e3b64246fe4cafed0755e3850de2874bf4a0da9
tree8c58e9f7564f34079b621ade27e8e3dde551e301
parentfde7d64766c1142fe79507bbef4968cee274cc0b
tools/sched_ext: Provide consistent access to scx flags

Make all the SCX_OPS_* and SCX_PICK_IDLE_* flags available to the
user-space part of the schedulers via the compat interface.

This allows schedulers / selftests to set all the ops flags in
user-space, rather than having them split between BPF and user-space.

Signed-off-by: Andrea Righi <arighi@nvidia.com>
Acked-by: Changwoo Min <changwoo@igalia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/sched_ext/include/scx/compat.h