[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] docs/atomics.txt: Update pointer to linux macro
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] docs/atomics.txt: Update pointer to linux macro |
Date: |
Tue, 12 Apr 2016 12:47:32 +0100 |
On 12 April 2016 at 12:42, Marc-André Lureau <address@hidden> wrote:
> Hi
>
> On Mon, Apr 11, 2016 at 7:30 PM, Pranith Kumar <address@hidden> wrote:
>> - atomic_read and atomic_set in Linux give no guarantee at all;
>> atomic_read and atomic_set in QEMU include a compiler barrier
>> - (similar to the ACCESS_ONCE macro in Linux).
>> + (similar to the READ_ONCE/WRITE_ONCE macros in Linux).
>>
>
> That looks accurate to me, but I am not very familiar with these
>
>> - most atomic read-modify-write operations in Linux return void;
>
> why removing that line?
Count the spaces :-) It's a line of context which happens to start
with a "-" character, not a line being removed.
thanks
-- PMM