Skip to content

xen/locking: fix and enhance lock debugging

Juergen Gross xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 4 repliesIn review
  2. v22 patches 6 repliesSuperseded
  3. v12 patches 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xen/spinlocks: spin_trylock with interrupts off is always finexen/common/spinlock.c+11 -71 reply
2/3xen/locking: harmonize spinlocks and rwlocks regarding preemptionxen/common/spinlock.c+4 -11 reply
3/3xen/rwlock: add check_lock() handling to rwlocksxen/common/spinlock.c xen/include/xen/rwlock.h xen/include/xen/spinlock.h+18 -22 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJan BeulichJulien Grall
1/3R-b A-b
2/3R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] xen/locking: fix and enhance lock debugging

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(-)
Signature · 1 line
2.26.2