All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] locking/debug: Add DEBUG_RWSEMS & LOCK_DEBUGGING
@ 2018-03-27 21:38 Waiman Long
  2018-03-27 21:38 ` [PATCH v3 1/2] locking/rwsem: Add DEBUG_RWSEMS to look for lock/unlock mismatches Waiman Long
  2018-03-27 21:38 ` [PATCH v3 2/2] locking/debug: Add a master lock debugging switch Waiman Long
  0 siblings, 2 replies; 5+ messages in thread
From: Waiman Long @ 2018-03-27 21:38 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra, Thomas Gleixner
  Cc: linux-kernel, Davidlohr Bueso, Waiman Long

v3:
 - Add a new patch which adds a master LOCK_DEBUGGING option to turn
   on all lock debugging.

v2:
 - Fix typo in up_read_non_owner().

This patchset enhances lock debugging by adding rwsem lock/unlock
mismatches checking and a master config option to turn on all lock
debugging.

Waiman Long (2):
  locking/rwsem: Add DEBUG_RWSEMS to look for lock/unlock mismatches
  locking/debug: Add a master lock debugging switch

 kernel/locking/rwsem.c |  4 ++++
 kernel/locking/rwsem.h |  8 +++++++-
 lib/Kconfig.debug      | 39 ++++++++++++++++++++++++++++++++++-----
 3 files changed, 45 insertions(+), 6 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-03-28 13:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-27 21:38 [PATCH v3 0/2] locking/debug: Add DEBUG_RWSEMS & LOCK_DEBUGGING Waiman Long
2018-03-27 21:38 ` [PATCH v3 1/2] locking/rwsem: Add DEBUG_RWSEMS to look for lock/unlock mismatches Waiman Long
2018-03-27 21:38 ` [PATCH v3 2/2] locking/debug: Add a master lock debugging switch Waiman Long
2018-03-27 23:13   ` Davidlohr Bueso
2018-03-28 13:05     ` Waiman Long

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.