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: Pranith Kumar
Subject: Re: [Qemu-devel] [PATCH v5 06/18] atomics: add atomic_read_acquire and atomic_set_release
Date: Sun, 15 May 2016 06:22:36 -0400

Hi Emilio,

On Fri, May 13, 2016 at 11:34 PM, Emilio G. Cota <address@hidden> 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.
>

If it is not too late can we rename this to
atomic_load_acquire()/atomic_store_release() like in the linux kernel?
Looks good either way.

Reviewed-by: Pranith Kumar <address@hidden>

-- 
Pranith



reply via email to

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