Re: [PATCH v2 04/23] xen/arm: sync_bitops

2012-08-07 Thread Konrad Rzeszutek Wilk
On Mon, Aug 06, 2012 at 03:27:07PM +0100, Stefano Stabellini wrote: > sync_bitops functions are equivalent to the SMP implementation of the > original functions, independently from CONFIG_SMP being defined. > > We need them because _set_bit etc are not SMP safe if !CONFIG_SMP. But > under Xen you

[PATCH v2 04/23] xen/arm: sync_bitops

2012-08-06 Thread Stefano Stabellini
sync_bitops functions are equivalent to the SMP implementation of the original functions, independently from CONFIG_SMP being defined. We need them because _set_bit etc are not SMP safe if !CONFIG_SMP. But under Xen you might be communicating with a completely external entity who might be on anoth