sched_ext: Fix typo in scx_bpf_dsq_insert() comment
Subsystems (2)
PATCH 1/1 sched_ext: Fix typo in scx_bpf_dsq_insert() comment
From: Liang Luo <[email protected]>
The comment for scx_bpf_dsq_insert() references "@dsp_id" in the description body, but the parameter is named "@dsq_id" in both the parameter list and the function signature.
Signed-off-by Liang Luo <[email protected]>
--- kernel/sched/ext/ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/ext/ext.c +1 -1
@@ -8572,7 +8572,7 @@ __bpf_kfunc_start_defs();* When called from ops.select_cpu() or ops.enqueue(), it's for direct dispatch * and @p must match the task being enqueued. * -* When called from ops.select_cpu(), @enq_flags and @dsp_id are stored, and @p +* When called from ops.select_cpu(), @enq_flags and @dsq_id are stored, and @p * will be directly inserted into the corresponding dispatch queue after * ops.select_cpu() returns. If @p is inserted into SCX_DSQ_LOCAL, it will be * inserted into the local DSQ of the CPU returned by ops.select_cpu().
Signature · 1 line
2.43.0
Hi Liang,
Quoted 7 lines · On Thu, Jul 09, 2026 at 04:02:05PM +0800, [email protected] wrote:
From: Liang Luo <[email protected]>
The comment for
scx_bpf_dsq_insert()references "@dsp_id" in the description body, but the parameter is named "@dsq_id" in both the parameter list and the function signature.Signed-off-by Liang Luo <[email protected]>
Yep, that's a typo.
Acked-by Andrea Righi <[email protected]>
Thanks,
-Andrea
Quoted 20 lines
--- kernel/sched/ext/ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/sched/ext/ext.c +1
-1@@ -8572,7 +8572,7 @@ __bpf_kfunc_start_defs();* When called from ops.select_cpu() or ops.enqueue(), it's for direct dispatch * and @p must match the task being enqueued. * -* When called from ops.select_cpu(), @enq_flags and @dsp_id are stored, and @p +* When called from ops.select_cpu(), @enq_flags and @dsq_id are stored, and @p * will be directly inserted into the corresponding dispatch queue after * ops.select_cpu() returns. If @p is inserted into SCX_DSQ_LOCAL, it will be * inserted into the local DSQ of the CPU returned by ops.select_cpu(). Signature · 1 line
2.43.0
Applied to sched_ext/for-7.3.
Thanks.
--
tejun