mbox series

[v3,0/3] xen/locking: fix and enhance lock debugging

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

Message

Juergen Gross Nov. 4, 2020, 8:15 a.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 (3):
  xen/spinlocks: spin_trylock with interrupts off is always fine
  xen/locking: harmonize spinlocks and rwlocks regarding preemption
  xen/rwlock: add check_lock() handling to rwlocks

 xen/common/spinlock.c      | 22 ++++++++++++++--------
 xen/include/xen/rwlock.h   | 15 +++++++++++++++
 xen/include/xen/spinlock.h |  2 ++
 3 files changed, 31 insertions(+), 8 deletions(-)