mbox series

[v2,0/2] xen/locking: fix and enhance lock debugging

Message ID 20201102131239.14134-1-jgross@suse.com (mailing list archive)
Headers show
Series xen/locking: fix and enhance lock debugging | expand

Message

Jürgen Groß Nov. 2, 2020, 1:12 p.m. UTC
This small series fixes two issues with spinlock debug code and adds
lock debug code to rwlocks in order to catch IRQ violations.

Juergen Gross (2):
  xen/spinlocks: spin_trylock with interrupts off is always fine
  xen/rwlock: add check_lock() handling to rwlocks

 xen/common/spinlock.c      | 17 ++++++++++-------
 xen/include/xen/rwlock.h   | 11 +++++++++++
 xen/include/xen/spinlock.h |  2 ++
 3 files changed, 23 insertions(+), 7 deletions(-)