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

Linus Torvalds
2023-02-02T19:39:40Z

On Thu, Feb 2, 2023 at 7:29 AM Peter Zijlstra <peterz@infradead.org> 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