All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] locking/rwsem: Add DEBUG_RWSEMS
@ 2018-03-28 14:20 Waiman Long
  2018-03-28 14:20 ` [PATCH v4 1/2] locking/rwsem: Add DEBUG_RWSEMS to look for lock/unlock mismatches Waiman Long
  2018-03-28 14:20 ` [PATCH v4 2/2] locking/debug: Restructure the lock debugging menu Waiman Long
  0 siblings, 2 replies; 9+ messages in thread
From: Waiman Long @ 2018-03-28 14:20 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra, Thomas Gleixner
  Cc: linux-kernel, Davidlohr Bueso, Waiman Long

v4:
 - Auto select DEBUG_RWSEMS & DEBUG_WW_MUTEX_SLOWPATH if PROVE_LOCKING
 - Modify patch 2 to do a restructuring of the lock debugging menu.

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 restructure the lock debugging menu to make it
easier to select options that are likely to be most frequently used.

Waiman Long (2):
  locking/rwsem: Add DEBUG_RWSEMS to look for lock/unlock mismatches
  locking/debug: Restructure the lock debugging menu

 kernel/locking/rwsem.c |   4 ++
 kernel/locking/rwsem.h |   8 ++-
 lib/Kconfig.debug      | 150 +++++++++++++++++++++++++++----------------------
 3 files changed, 93 insertions(+), 69 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2018-03-30 11:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-28 14:20 [PATCH v4 0/2] locking/rwsem: Add DEBUG_RWSEMS Waiman Long
2018-03-28 14:20 ` [PATCH v4 1/2] locking/rwsem: Add DEBUG_RWSEMS to look for lock/unlock mismatches Waiman Long
2018-03-29  1:32   ` Davidlohr Bueso
2018-03-29 14:55     ` Waiman Long
2018-03-29 15:01       ` Davidlohr Bueso
2018-03-29 15:17         ` Waiman Long
2018-03-28 14:20 ` [PATCH v4 2/2] locking/debug: Restructure the lock debugging menu Waiman Long
2018-03-29  1:35   ` Davidlohr Bueso
2018-03-30 11:17   ` Ingo Molnar

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.