[PATCH 0/2] xen: fix two issues in Xen pv qspinlock handling
From: Juergen Gross
Date: Mon Oct 01 2018 - 03:16:56 EST
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(-)
Cc: Waiman.Long@xxxxxx
Cc: peterz@xxxxxxxxxxxxx
--
2.16.4