Skip to content

RFC workqueue: Fix hotplug races

Frederic Weisbecker lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2workqueue: Fix unbind_workers() VS wq_worker_running() racekernel/workqueue.c+9 -01 reply
2/2workqueue: Fix unbind_workers() VS wq_worker_sleeping() racekernel/workqueue.c+10 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLai JiangshanPaul E. McKenney
SeriesT-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(+)
Signature · 1 line
2.25.1