Skip to content

locking/lockdep: Support dynamic lockdep keys

Bart Van Assche lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2locking/lockdep: Add support for dynamic depmaps and keysinclude/linux/lockdep.h kernel/locking/lockdep.c+15 -32 replies
2/2kernel/workqueue: Use dynamic lockdep keys for workqueuesinclude/linux/workqueue.h kernel/workqueue.c+44 -320 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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