Skip to content

xen: fix two issues in Xen pv qspinlock handling

Juergen Gross lkml stable xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xen: fix race in xen_qlock_wait()arch/x86/xen/spinlock.c+5 -100 replies
1/2xen: fix race in xen_qlock_wait()arch/x86/xen/spinlock.c+5 -104 replies
2/2xen: make xen_qlock_wait() nestablearch/x86/xen/spinlock.c+10 -140 replies
2/2xen: make xen_qlock_wait() nestablearch/x86/xen/spinlock.c+10 -1416 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchJan Beulich
1/2R-b R-b
1/2R-b R-b
2/2
2/2

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

Read the v1 thread

Cover letter [PATCH 0/2] xen: fix two issues in Xen pv qspinlock handling

The Xen specific queue spinlock wait function has two issues which could result in a hanging system.

They have a similar root cause of clearing a pending wakeup of a waiting vcpu and later going to sleep waiting for the just cleared wakeup event, which of course won't ever happen.

Juergen Gross (2):
xen: fix race in xen_qlock_wait()
xen: make xen_qlock_wait() nestable

 arch/x86/xen/spinlock.c | 33 ++++++++++++---------------------
 1 file changed, 12 insertions(+), 21 deletions(-)
Signature · 1 line
2.16.4