Re: [PATCH 05/11] sched_ext: Fix TOCTOU race in consume_remote_task()
From: Tejun Heo
Date: Thu Jul 16 2026 - 17:39:19 EST
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