]> www.infradead.org Git - users/willy/xarray.git/commit
sched_ext: Drop "ops" from scx_ops_{init|exit|enable|disable}[_task]() 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)
commit1a2469403eb26c1c8b9555fc6bb91ccc6e9fc948
tree50764d671a118256c054e01cd4851cdd3f332264
parentc5f22258f5f675cea5dd6b4a27a2e0da70dfac88
sched_ext: Drop "ops" from scx_ops_{init|exit|enable|disable}[_task]() 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_{init|exit|enable|disable}[_task]() and friends.

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