]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched_ext: Drop "ops" from scx_ops_exit(), scx_ops_error() 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)
commitc5f22258f5f675cea5dd6b4a27a2e0da70dfac88
tree439b0676565e1c78a7d0a3e1aa6ecf10aa4e4469
parent8c6ee862467e8632cb72dc753c75a561ff5693d2
sched_ext: Drop "ops" from scx_ops_exit(), scx_ops_error() 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_exit(), scx_ops_error() and friends.

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