[Top][All Lists]

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

Re: [Qemu-devel] [PATCH 1/2] atomics: do not use __atomic primitives for

From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 1/2] atomics: do not use __atomic primitives for RCU atomics
Date: Tue, 24 May 2016 09:08:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0

On 23/05/2016 19:09, Emilio G. Cota wrote:
>               E.
> PS. And really equating smp_wmb/rmb to release/acquire as we have under
> #ifdef __ATOMIC is hard to justify, other than to please tsan.

That only makes a difference on arm64, right?

        acquire         release         rmb             wmb
x86     --              --              --              --
power   lwsync          lwsync          lwsync          lwsync
armv7   dmb             dmb             dmb             dmb
arm64   dmb ishld       dmb ish         dmb ishld       dmb ishst
ia64    --              --              --              --



reply via email to

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