Re: [PATCH 6.18.y] sched_ext: Read exit_kind before flushing in scx_flush_disable_work()

From: Sasha Levin

Date: Fri Nov 27 2026 - 12:02:15 EST


> scx_disable_workfn() sets exit_kind to SCX_EXIT_DONE before it tears the
> scheduler down. scx_flush_disable_work() reads exit_kind after syncing
> disable_irq_work and flushing disable_work, so it can observe DONE from
> a disable_work that was queued after its flush and return while the
> teardown is still running:

Queued for 6.18, thanks.

--
Thanks,
Sasha