Re: [PATCH 5/5] locking/mcs: Relax to atomic/release semantics
From: Linus Torvalds
Date: Sun Sep 20 2015 - 14:26:37 EST
On Sun, Sep 20, 2015 at 3:11 AM, Davidlohr Bueso <dave@xxxxxxxxxxxx> wrote:
> ... by using acquire semantics where appropriate As such, weakly
> ordered archs can benefit from more relaxed use of barriers when
> issuing atomics.
Again, subject is wrong.
Also, I actually think you should avoid using the word "relax", since
that actually has a separate meaning for the atomics, and it is *not*
using those relaxed semantics, and they wouldn't work anyway.
So you might as well just say something like
"locking: use acquire/release semantics"
or similar. Ok?
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/