Re: [PATCH] sched/deadline: Use task_on_rq_migrating() helper
From: luoliang
Date: Tue Jun 09 2026 - 01:52:31 EST
On Mon, Jun 08, 2026 at 10:01:56AM +0200, Peter Zijlstra wrote:
> This is completely irrelevant here. p->on_rq is set with rq->lock held,
> and tasks are {en,de}queued with rq->lock held. There is no concurrency.
You are right, my mistake. The READ_ONCE() explanation was incorrect.
I've already sent v2 with the commit message fixed:
https://lore.kernel.org/all/20260608075500.387271-1-luoliang@xxxxxxxxxx/
Thanks.