Re: [RFC PATCH 0/2] workqueue: Fix hotplug races

From: Tejun Heo
Date: Tue Nov 30 2021 - 11:36:29 EST


On Tue, Nov 30, 2021 at 01:06:10AM +0100, Frederic Weisbecker wrote:
> While triggering rcutorture splats, I couldn't trace down to the exact
> cause due to the issue being tracing-unfriendly. But looking at the code,
> those two potential races look like plausible causes and also after
> these two patches, I couldn't reproduce the rcutorture issues again (yet...).
>
> Frederic Weisbecker (2):
> workqueue: Fix unbind_workers() VS wq_worker_running() race
> workqueue: Fix unbind_workers() VS wq_worker_sleeping() race

Both patches look good to me. Lai, thanks for finding the offending commits.
Frederic, can you please repost them w/ scheduler folks and tglx cc'd?

Thanks.

--
tejun