]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched_ext: Drop "ops" from scx_ops_helper, scx_ops_enable_mutex and __scx_ops_enabled
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)
commita50c365f996d8935c52967391488828e5e76471e
treefeb6a452a5fb51f7385801173cee6bccb83eb495
parent1a7ff7216c8b4d199033c292ce5acf8e9cdb5dc2
sched_ext: Drop "ops" from scx_ops_helper, scx_ops_enable_mutex and __scx_ops_enabled

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_helper, scx_ops_enable_mutex and __scx_ops_enabled.
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
kernel/sched/sched.h
tools/sched_ext/scx_show_state.py