On Thu, Sep 26, 2013 at 04:34:04PM +0100, Linus Torvalds wrote:
> On Thu, Sep 26, 2013 at 8:13 AM, Will Deacon wrote:
> >
> > This patch implements a dummy implementation for asm-generic, falling
> > back to the usual cmpxchg64 code.
>
> I don't like the "let's add dummy operations for everybody
On Thu, Sep 26, 2013 at 8:13 AM, Will Deacon wrote:
>
> This patch implements a dummy implementation for asm-generic, falling
> back to the usual cmpxchg64 code.
I don't like the "let's add dummy operations for everybody who doesn't
care" when it is this specialized.
I'd much rather just add a s
cmpxchg64_relaxed can be used to provide barrier-less semantics for a
64-bit cmpxchg operation in cases where the strong memory ordering is
not required.
This patch implements a dummy implementation for asm-generic, falling
back to the usual cmpxchg64 code.
Cc: Arnd Bergmann
Signed-off-by: Will
3 matches
Mail list logo