mbox series

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

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

Message

Jürgen Groß Oct. 30, 2020, 2:24 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   | 14 ++++++++++++++
 xen/include/xen/spinlock.h |  2 ++
 3 files changed, 26 insertions(+), 7 deletions(-)