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

From: Linus Torvalds
Date: Thu Feb 02 2023 - 14:39:43 EST


On Thu, Feb 2, 2023 at 7:29 AM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> - fixed up the inline asm to use 'u128 *' mem argument so the compiler knows
> how wide the modification is.
> - reworked the percpu thing to use union based type-punning instead of
> _Generic() based casts.

Looks lovely to me. This removed all my concerns (except for the
testing one, but all the patches looked nice and clean to me, so
clearly it must be perfect).

Linus