locking/lockdep: Support dynamic lockdep keys
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | locking/lockdep: Add support for dynamic depmaps and keysinclude/ kernel/ | +15 | 2 replies | |
| 2/2 | kernel/workqueue: Use dynamic lockdep keys for workqueuesinclude/ kernel/ | +44 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] locking/lockdep: Support dynamic lockdep keys
Hi Ingo,
As you may know some false positive lockdep reports are the result of the requirement to associate the same static lockdep key with all instances of a locking object. Recently I encountered a lockdep false positive for which I found no elegant way to suppress it other than by modifying the lockdep implementation. Hence this series with two patches: one that modifies lockdep and another patch that shows the false positive I and others ran into and that also shows how to suppress that false positive.
Please keep in mind that I'm not a lockdep expert and hence that I'm not sure whether the approach of patch 1/2 is correct.
Thanks,
Bart.
Bart Van Assche (2):
locking/lockdep: Add support for dynamic depmaps and keys kernel/workqueue: Use dynamic lockdep keys for workqueues
include/linux/lockdep.h | 2 ++ include/linux/workqueue.h | 28 ++++------------------- kernel/locking/lockdep.c | 16 ++++++++++--- kernel/workqueue.c | 48 ++++++++++++++++++++++++++++++++------- 4 files changed, 59 insertions(+), 35 deletions(-)
Signature · 1 line
2.19.1.930.g4563a0d9d0-goog