Re: [RFC 2/3] tools/memory-model: Add a litmus test for atomic_set()

From: Peter Zijlstra
Date: Mon Feb 17 2020 - 06:02:24 EST

On Sat, Feb 15, 2020 at 07:52:15AM +0800, Boqun Feng wrote:
> I agree, and thanks for the suggestion! And I change the sentence in
> atomic_t.txt with:
> A note for the implementation of atomic_set{}() is that it
> cannot break the atomicity of the RMW ops.
> , since I think that part of the doc is more about the suggestion to
> anyone who want to implement the atomic_set(). Peter, is that OK to you?