lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 18 Jun 2024 11:59:43 -0700
From: "Paul E. McKenney" <paulmck@...nel.org>
To: Andrea Parri <parri.andrea@...il.com>
Cc: stern@...land.harvard.edu, will@...nel.org, peterz@...radead.org,
	boqun.feng@...il.com, npiggin@...il.com, dhowells@...hat.com,
	j.alglave@....ac.uk, luc.maranget@...ia.fr, akiyks@...il.com,
	dlustig@...dia.com, joel@...lfernandes.org,
	linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
	hernan.poncedeleon@...weicloud.com,
	jonas.oberhauser@...weicloud.com
Subject: Re: [PATCH v3] tools/memory-model: Document herd7 (abstract)
 representation

On Tue, Jun 18, 2024 at 08:41:15PM +0200, Andrea Parri wrote:
> > Queued, thank you!
> > 
> > I added Boqun's and Hernan's Reviewed-by tags and did the usual
> > wordsmithing.  Please check below to make sure that I did not mess
> > anything up.
> 
> Thanks!  That does look good to me.
> 
> It is missing the small addition to the rmw description discussed
> earlier in the thread [1]: feel free to squash it in your commit if
> that works for you (alternatively, I can respin the entire thing
> with that, JLMK what you prefer).

Please respin and I will replace the one that I have.

I clearly should have read the chain more carefully.  ;-)

> > Also, Puranjay added atomic_and()/or()/xor() and add_negative, which
> > is slated to go in to the next merge window:
> > 
> > be98107ab8a5 ("tools/memory-model: Add atomic_and()/or()/xor() and add_negative")
> > 
> > Would you like to add the corresponding lines to this table?
> 
> atomic_and() and atomic_add_negative() (together with its variants)
> should be listed in the table.
> 
> I did promise myself that I would have not done "or", "xor", "andnot"
> as well as "sub", "inc", "dec", but never say never!  :-) Alternatively,
> we could perhaps add a note along the lines of
> 
>   The table includes "add" and "and" operations; analogous/identical
>   representations for "sub", "inc", "dec", "or", "xor" and "andnot"
>   operations are omitted.

I am OK either way.  The second approach could be used to shrink
the "RMW ops w/ return value" section, if desired.

							Thanx, Paul

>   Andrea
> 
> [1] https://lore.kernel.org/ZnFZPJlILp5B9scN@andrea

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ