]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
sched_ext: Fix scx_bpf_reenqueue_local() reference
authorChristian Loehle <christian.loehle@arm.com>
Tue, 8 Jul 2025 16:12:51 +0000 (17:12 +0100)
committerTejun Heo <tj@kernel.org>
Thu, 17 Jul 2025 18:17:26 +0000 (08:17 -1000)
The comment mentions bpf_scx_reenqueue_local(), but the function
is provided for the BPF program implementing scx, as such the
naming convention is scx_bpf_reenqueue_local(), fix the comment.

Signed-off-by: Christian Loehle <christian.loehle@arm.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c

index 512474eabea6d76f28d50428ec2c736d3389ae66..b083ca426e892f0791188e8c4a3b18a149b6a479 100644 (file)
@@ -911,7 +911,7 @@ enum scx_enq_flags {
        /*
         * The task being enqueued was previously enqueued on the current CPU's
         * %SCX_DSQ_LOCAL, but was removed from it in a call to the
-        * bpf_scx_reenqueue_local() kfunc. If bpf_scx_reenqueue_local() was
+        * scx_bpf_reenqueue_local() kfunc. If scx_bpf_reenqueue_local() was
         * invoked in a ->cpu_release() callback, and the task is again
         * dispatched back to %SCX_LOCAL_DSQ by this current ->enqueue(), the
         * task will not be scheduled on the CPU until at least the next invocation