[Top][All Lists]

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

Re: [Qemu-devel] [PATCH] virtio: Make memory barriers be memory barriers

From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] virtio: Make memory barriers be memory barriers
Date: Fri, 02 Sep 2011 08:11:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

On 09/02/2011 02:11 AM, David Gibson wrote:
>  >Why not limit the change to ppc then?
>  Because the bug is masked by the x86 memory model, but it is still
>  there even there conceptually.  It is not really true that x86 does
>  not need memory barriers, though it doesn't in this case:
Not to mention that pcc is not the only non-x86 architecture.  I don't
know all their storage models off hand, but the point is that there is
a required order to these writes, so there should be a memory barrier.

Indeed, I interpreted Michael's question more as "why not limit the change to non-x86". I think we should cater to all memory models except perhaps the Alpha's.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]