Re: [PATCH] sched_ext: Fix typo in scx_bpf_dsq_insert() comment

From: Andrea Righi

Date: Thu Jul 09 2026 - 16:23:35 EST


Hi Liang,

On Thu, Jul 09, 2026 at 04:02:05PM +0800, luoliang@xxxxxxxxxx wrote:
> From: Liang Luo <luoliang@xxxxxxxxxx>
>
> 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 <luoliang@xxxxxxxxxx>

Yep, that's a typo.

Acked-by: Andrea Righi <arighi@xxxxxxxxxx>

Thanks,
-Andrea

> ---
> kernel/sched/ext/ext.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/sched/ext/ext.c b/kernel/sched/ext/ext.c
> index 691d53fe0f64..cbfa23d71e68 100644
> --- a/kernel/sched/ext/ext.c
> +++ b/kernel/sched/ext/ext.c
> @@ -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().
> --
> 2.43.0
>