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

From: Frederic Weisbecker
Date: Wed Dec 01 2021 - 09:49:18 EST


On Tue, Nov 30, 2021 at 06:36:23AM -1000, Tejun Heo wrote:
> 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?

Sure, preparing that.

Thanks.

> Thanks.
>
> --
> tejun