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

Juergen Gross posted 3 patches 3 years, 4 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/20201104081549.3712-1-jgross@suse.com
Maintainers: George Dunlap <george.dunlap@citrix.com>, Jan Beulich <jbeulich@suse.com>, Wei Liu <wl@xen.org>, Stefano Stabellini <sstabellini@kernel.org>, Julien Grall <julien@xen.org>, Andrew Cooper <andrew.cooper3@citrix.com>, Ian Jackson <iwj@xenproject.org>
xen/common/spinlock.c      | 22 ++++++++++++++--------
xen/include/xen/rwlock.h   | 15 +++++++++++++++
xen/include/xen/spinlock.h |  2 ++
3 files changed, 31 insertions(+), 8 deletions(-)
[PATCH v3 0/3] xen/locking: fix and enhance lock debugging
Posted by Juergen Gross 3 years, 4 months ago
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(-)

-- 
2.26.2