]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched_ext: Factor out reenq_local() from scx_bpf_reenqueue_local()
authorTejun Heo <tj@kernel.org>
Sat, 25 Oct 2025 00:18:48 +0000 (14:18 -1000)
committerTejun Heo <tj@kernel.org>
Wed, 29 Oct 2025 15:29:04 +0000 (05:29 -1000)
commit8803e6a7fb687795ab4326f3e96e9f666605d883
treec52718ffdbee9d1bd11a4e458f38aed1c4ed6aab
parent180b4ac3420c4b4e03c75b7077beb854af9282da
sched_ext: Factor out reenq_local() from scx_bpf_reenqueue_local()

Factor out the core re-enqueue logic from scx_bpf_reenqueue_local() into a
new reenq_local() helper function. scx_bpf_reenqueue_local() now handles the
BPF kfunc checks and calls reenq_local() to perform the actual work.

This is a prep patch to allow reenq_local() to be called from other contexts.

Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c