Skip to content

Commit ae96bba

Browse files
cloehlehtejun
authored andcommitted
sched_ext: Fix scx_bpf_reenqueue_local() reference
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 <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent 4ecf837 commit ae96bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/sched/ext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ enum scx_enq_flags {
911911
/*
912912
* The task being enqueued was previously enqueued on the current CPU's
913913
* %SCX_DSQ_LOCAL, but was removed from it in a call to the
914-
* bpf_scx_reenqueue_local() kfunc. If bpf_scx_reenqueue_local() was
914+
* scx_bpf_reenqueue_local() kfunc. If scx_bpf_reenqueue_local() was
915915
* invoked in a ->cpu_release() callback, and the task is again
916916
* dispatched back to %SCX_LOCAL_DSQ by this current ->enqueue(), the
917917
* task will not be scheduled on the CPU until at least the next invocation

0 commit comments

Comments
 (0)