]> www.infradead.org Git - users/willy/xarray.git/commit
sched_ext: Drop "ops" from scx_ops_enable_state and friends
authorTejun Heo <tj@kernel.org>
Fri, 4 Apr 2025 18:52:48 +0000 (08:52 -1000)
committerTejun Heo <tj@kernel.org>
Fri, 4 Apr 2025 18:52:48 +0000 (08:52 -1000)
commit1a7ff7216c8b4d199033c292ce5acf8e9cdb5dc2
tree8614938ce101e714c533672151edfb4449433b0a
parent4a1d8ababde685a77fd4fd61e58f973cbdf29f8c
sched_ext: Drop "ops" from scx_ops_enable_state 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_enable_state 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