Re: [PATCH doc] Emphasize that failed atomic operations give no ordering

From: Paul E. McKenney
Date: Tue Jan 30 2024 - 11:34:08 EST


On Tue, Jan 30, 2024 at 05:02:49PM +0100, Andrea Parri wrote:
> On Tue, Jan 30, 2024 at 06:53:38AM -0800, Paul E. McKenney wrote:
> > The ORDERING section of Documentation/atomic_t.txt can easily be read as
> > saying that conditional atomic RMW operations that fail are ordered when
> > those operations have the _acquire() or _release() prefixes. This is
>
> s/prefixes/suffixes

Good catch, fixed.

> > not the case, therefore update this section to make it clear that failed
> > conditional atomic RMW operations provide no ordering.
> >
> > Reported-by: Anna-Maria Behnsen <anna-maria@xxxxxxxxxxxxx>
> > Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
>
> You may want to add a "subsystem" to the subject line, git-log suggests
> "Documentation/atomic_t". Anyway,

Good point, done.

> Acked-by: Andrea Parri <parri.andrea@xxxxxxxxx>

Thank you!

Thanx, Paul