qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v5 06/18] atomics: add atomic_read_acquire and a


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v5 06/18] atomics: add atomic_read_acquire and atomic_set_release
Date: Tue, 17 May 2016 19:08:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0


On 17/05/2016 18:53, Sergey Fedorov wrote:
> On 14/05/16 06:34, Emilio G. Cota wrote:
>> > When __atomic is not available, we use full memory barriers instead
>> > of smp/wmb, since acquire/release barriers apply to all memory
>> > operations and not just to loads/stores, respectively.
>> >
>> > Signed-off-by: Emilio G. Cota <address@hidden>
>> > ---
>> >  include/qemu/atomic.h | 27 +++++++++++++++++++++++++++
>> >
> Update docs/atomics.txt? (The same for the previous patch.)

I'm okay with doing this separately.

Paolo



reply via email to

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