]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched_ext: Drop "ops" from scx_ops_bypass(), scx_ops_breather() and friends
authorTejun Heo <tj@kernel.org>
Fri, 4 Apr 2025 18:52:49 +0000 (08:52 -1000)
committerTejun Heo <tj@kernel.org>
Fri, 4 Apr 2025 18:52:49 +0000 (08:52 -1000)
commit8c6ee862467e8632cb72dc753c75a561ff5693d2
treec961ecc0b5ac50b706ddd3faf8c1678c5918b19f
parenta50c365f996d8935c52967391488828e5e76471e
sched_ext: Drop "ops" from scx_ops_bypass(), scx_ops_breather() and friends

The tag "ops" is used for two different purposes. First, to indicate that
the entity is directly related to the operations such as flags carried in
sched_ext_ops. Second, to indicate that the entity applies to something
global such as enable or bypass states. The second usage is historical and
causes confusion rather than clarifying anything. For example,
scx_ops_enable_state enums are named SCX_OPS_* and thus conflict with
scx_ops_flags. Let's drop the second usages.

Drop "ops" from scx_ops_bypass(), scx_ops_breather() and friends. Update
scx_show_state.py accordingly.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Andrea Righi <arighi@nvidia.com>
kernel/sched/ext.c
tools/sched_ext/scx_show_state.py