Skip to contentSkip to conversation

sched_ext: Fix typo in scx_bpf_dsq_insert() comment

PATCH Applied [email protected] 3 participants 3 messages Jul 9

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 kernel/sched/ext/ext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/ext/ext.c +1 -1
index 691d53fe0f64..cbfa23d71e68 100644
@@ -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
reviewer Acked-by on v1 1/1
#1 lore raw

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.

Yep, that's a typo.

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
index 691d53fe0f64..cbfa23d71e68 100644
@@ -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