[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ec893c4e-b4eb-4279-be66-1ca7e6bce7b1@gmail.com>
Date: Tue, 25 Feb 2025 13:28:08 +0900
From: Akira Yokosawa <akiyks@...il.com>
To: "Paul E. McKenney" <paulmck@...nel.org>, linux-kernel@...r.kernel.org,
linux-arch@...r.kernel.org, lkmm@...ts.linux.dev, kernel-team@...a.com,
mingo@...nel.org
Cc: stern@...land.harvard.edu, parri.andrea@...il.com, will@...nel.org,
peterz@...radead.org, boqun.feng@...il.com, npiggin@...il.com,
dhowells@...hat.com, j.alglave@....ac.uk, luc.maranget@...ia.fr,
Jonas Oberhauser <jonas.oberhauser@...weicloud.com>,
Akira Yokosawa <akiyks@...il.com>
Subject: Re: [PATCH memory-model 7/7] tools/memory-model: Distinguish between
syntactic and semantic tags
On Thu, 20 Feb 2025 08:14:03 -0800, Paul E. McKenney wrote:
> From: Jonas Oberhauser <jonas.oberhauser@...weicloud.com>
>
> Not all annotated accesses provide the semantics their syntactic tags
> would imply. For example, an 'acquire tag on a write does not imply that
> the write is finally in the Acquire set and provides acquire ordering.
>
> To distinguish in those cases between the syntactic tags and actual
> sets, we capitalize the former, so 'ACQUIRE tags may be present on both
> reads and writes, but only reads will appear in the Acquire set.
>
> For tags where the two concepts are the same we do not use specific
> capitalization to make this distinction.
>
> Reported-by: Boqun Feng <boqun.feng@...il.com>
> Signed-off-by: Jonas Oberhauser <jonas.oberhauser@...weicloud.com>
> Reviewed-by: Boqun Feng <boqun.feng@...il.com>
> Tested-by: Boqun Feng <boqun.feng@...il.com>
> Signed-off-by: Paul E. McKenney <paulmck@...nel.org>
Tested-by: Akira Yokosawa <akiyks@...il.com> # herdtools7.7.58
> ---
> .../Documentation/herd-representation.txt | 44 ++--
> tools/memory-model/linux-kernel.bell | 22 +-
> tools/memory-model/linux-kernel.def | 198 +++++++++---------
> 3 files changed, 132 insertions(+), 132 deletions(-)
Powered by blists - more mailing lists