Re: [PATCH v5 19/21] asm-generic/atomic: Add try_cmpxchg() fallbacks

From: Ingo Molnar
Date: Mon Oct 12 2020 - 12:25:32 EST



* Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
>
> Only x86 provides try_cmpxchg() outside of the atomic_t interfaces,
> provide generic fallbacks to create this interface from the widely
> available cmpxchg() function.
>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
> Acked-by: Will Deacon <will@xxxxxxxxxx>

Your SOB was missing here too.

Thanks,

Ingo