Re: [RFC 2/3] tools/memory-model: Add a litmus test for atomic_set()
From: Peter Zijlstra <peterz@infradead.org>
Date: 2020-02-17 11:02:24
Also in:
linux-doc, lkml
From: Peter Zijlstra <peterz@infradead.org>
Date: 2020-02-17 11:02:24
Also in:
linux-doc, lkml
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?Sure.