[PATCH v3 0/2] locking/debug: Add DEBUG_RWSEMS & LOCK_DEBUGGING

From: Waiman Long
Date: Tue Mar 27 2018 - 17:38:59 EST


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