]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched_ext: Split task_should_reenq() into local and user variants
authorTejun Heo <tj@kernel.org>
Fri, 13 Mar 2026 19:43:22 +0000 (09:43 -1000)
committerTejun Heo <tj@kernel.org>
Fri, 13 Mar 2026 19:43:22 +0000 (09:43 -1000)
commitf1c1dd9cc1b610e44d16210f5b9bd5e697c7cf74
treef3b43ce412bea0a137637791e7c939df37764a83
parent1d02346fec8d13b05e54296ddc6ae29b7e1067df
sched_ext: Split task_should_reenq() into local and user variants

Split task_should_reenq() into local_task_should_reenq() and
user_task_should_reenq(). The local variant takes reenq_flags by pointer.

No functional change. This prepares for SCX_ENQ_IMMED which will add
IMMED-specific logic to the local variant.

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