workqueue lockup debugging
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | workqueue: debug flushing deadlocks with lockdepinclude/ kernel/ | +34 | 0 replies | |
| 1/2 | workqueue: debug flushing deadlocks with lockdepinclude/ kernel/ | +34 | 0 replies | |
| 2/2 | workqueue: debug work related deadlocks with lockdepinclude/ include/ kernel/ | +53 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Oleg Nesterov | Ingo Molnar | Peter Zijlstra |
|---|---|---|---|
| 1/2 | A-b A-b | A-b A-b | A-b A-b |
| 1/2 | A-b A-b | A-b A-b | A-b A-b |
| 2/2 | A-b | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH (resend) 0/2] workqueue lockup debugging
I recently experienced a lockup in the wireless code due to the scenario described in patch 1 and wanted to have lockdep warn about such scenarios as a way to catch such bugs in other subsystems as well as to make sure we wouldn't get such things ever again.
In discussions with Oleg and Ingo it turned out that there's another possible deadlock with the now-recommended API of cancel_work_sync() and I also found a way to make lockdep catch that; it is addressed by patch 2.
Ingo thinks this could also have caught a similar lockup in the DVB subsystem and would like to see it in .23.
johannes