[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2/3] xen/arm64: resync atomics and spinlock asm with Linux



On Mon, Jul 29, 2013 at 05:13:02PM +0100, Ian Campbell wrote:
> On Mon, 2013-07-29 at 17:02 +0100, Tim Deegan wrote:
> > But I don't understand the new 'memory' clobbers around in this patch.
> > Or rather, I don't understand why there are memory clobbers but not
> > DMBs.

The acquire/release instructions imply half barriers, but GCC may still
re-order instructions across them unless we include the memory clobber.

Will

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.