Re: [Xen-devel] [PATCH v2 2/2] xen/spinlocks: fix placement of preempt_[dis|en]able()

2020-03-16 Thread Jan Beulich
On 13.03.2020 15:37, Juergen Gross wrote: > In case Xen ever gains preemption support the spinlock coding's > placement of preempt_disable() and preempt_enable() should be outside > of the locked section. > > Signed-off-by: Juergen Gross Reviewed-by: Jan Beulich ___

[Xen-devel] [PATCH v2 2/2] xen/spinlocks: fix placement of preempt_[dis|en]able()

2020-03-13 Thread Juergen Gross
In case Xen ever gains preemption support the spinlock coding's placement of preempt_disable() and preempt_enable() should be outside of the locked section. Signed-off-by: Juergen Gross --- V2: - move preempt_enable() to the very end of _spin_unlock() (Jan Beulich) --- xen/common/spinlock.c | 9