[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ecacb016-55d8-8158-ee9c-1b7a22f498e6@huaweicloud.com>
Date: Tue, 18 Jun 2024 12:20:23 +0200
From: Hernan Ponce de Leon <hernan.poncedeleon@...weicloud.com>
To: Andrea Parri <parri.andrea@...il.com>
Cc: Boqun Feng <boqun.feng@...il.com>, stern@...land.harvard.edu,
will@...nel.org, peterz@...radead.org, npiggin@...il.com,
dhowells@...hat.com, j.alglave@....ac.uk, luc.maranget@...ia.fr,
paulmck@...nel.org, akiyks@...il.com, dlustig@...dia.com,
joel@...lfernandes.org, linux-kernel@...r.kernel.org,
linux-arch@...r.kernel.org, jonas.oberhauser@...weicloud.com
Subject: Re: [PATCH v3] tools/memory-model: Document herd7 (abstract)
representation
On 6/18/2024 11:54 AM, Andrea Parri wrote:
>> This follows from rmw \subset po. However, this might not be immediately
>> clear for the reader so having it explicit is a good idea.
>
> Sure. How about as follows:
>
> diff --git a/tools/memory-model/Documentation/herd-representation.txt b/tools/memory-model/Documentation/herd-representation.txt
> index 2fe270e902635..8255a2ff62e5f 100644
> --- a/tools/memory-model/Documentation/herd-representation.txt
> +++ b/tools/memory-model/Documentation/herd-representation.txt
> @@ -14,7 +14,7 @@
> # SRCU, a Sleepable-Read-Copy-Update event
> #
> # po, a Program-Order link
> -# rmw, a Read-Modify-Write link
> +# rmw, a Read-Modify-Write link; every rmw link is a po link
> #
> # By convention, a blank entry/representation means "same as the preceding entry".
> #
>
> I can respin the patch shortly to add something along these lines and
> the collected tags.
>
> Andrea
Sounds good to me.
Hernan
Powered by blists - more mailing lists