Re: [PATCH] sched_ext: Fix local_dsq_post_enq() to use task's scheduler in sub-sched

From: Tejun Heo

Date: Thu Apr 23 2026 - 12:47:42 EST


Hello,

On Thu, Apr 23, 2026 at 10:58:32AM +0800, zhidao su wrote:
> local_dsq_post_enq() calls call_task_dequeue() with scx_root instead of
> the scheduler instance actually managing the task. When
> CONFIG_EXT_SUB_SCHED is enabled, tasks may be managed by a sub-scheduler
> whose ops.dequeue() callback differs from root's.
...
> Fixes: ebf1ccff79c4 ("sched_ext: Fix ops.dequeue() semantics")
> Signed-off-by: zhidao su <suzhidao@xxxxxxxxxx>

Applied to sched_ext/for-7.1-fixes.

Thanks.

--
tejun