Skip to contentSkip to conversation

sched_ext: Fix scx_bpf_reenqueue_local() reference

PATCH RESEND New Christian Loehle 1 participant 1 message Jul 8, 2025 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 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.

---
 kernel/sched/ext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/ext.c +1 -1
index b498d867ba21..702fa31459fe 100644
@@ -884,7 +884,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
Signature · 1 line
2.34.1