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

From: Frederic Weisbecker
Date: Mon Nov 29 2021 - 19:06:26 EST


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

kernel/workqueue.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

--
2.25.1