Re: [PATCH 05/11] sched_ext: Fix TOCTOU race in consume_remote_task()

Tejun Heo <[email protected]> Thu, 16 Jul 2026 11:38:34 -1000
Newsgroups dev.linux.lists.sched-ext,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Thu, Jul 16, 2026 at 11:29:37AM -1000, Tejun Heo wrote:
> If this no longer holds w/ proxy execution, adding further conditions are
> fine but let's make it explicitly for and confined to proxy execution
> enabled cases. The logic there is already subtle and I want to avoid adding
> misleading checks.

Thought a bit more about it and the only thing that can change are the
running state and migration disabled, right? So, maybe just test those again
after the lock switch?

Thanks.

-- 
tejun