Re: [Qemu-devel] [PATCH 2/2] Barriers in qemu-barrier.h should not be x86 specific

2011-10-02 Thread Michael S. Tsirkin
On Tue, Sep 20, 2011 at 12:05:21PM +1000, David Gibson wrote: > qemu-barrier.h contains a few macros implementing memory barrier > primitives used in several places throughout qemu. However, apart > from the compiler-only barrier, the defined wmb() is correct only for > x86, or platforms which are

[Qemu-devel] [PATCH 2/2] Barriers in qemu-barrier.h should not be x86 specific

2011-09-19 Thread David Gibson
qemu-barrier.h contains a few macros implementing memory barrier primitives used in several places throughout qemu. However, apart from the compiler-only barrier, the defined wmb() is correct only for x86, or platforms which are similarly strongly ordered. This patch addresses the FIXME about thi