Re: [PATCH v3 00/11] Introduce cmpxchg128() -- aka. the demise of cmpxchg_double()

From: Peter Zijlstra
Date: Wed May 24 2023 - 05:41:05 EST


On Mon, May 15, 2023 at 11:42:23AM +0200, Arnd Bergmann wrote:

> The need for runtime feature checking in the callers on x86-64 is still
> a bit awkward, but this is no worse than before. I understand that
> turning this into a compile-time choice would require first settling
> a larger debate about raising the default target for distros beyond
> the current CONFIG_GENERIC_CPU.

Looks like Power is going to be in the same boat, they can do
cmpxchg128, but only for Power8+.