Re: [PATCH 11/13] x86_64: Remove pointless set_64bit() usage

From: Peter Zijlstra
Date: Mon Dec 19 2022 - 10:47:01 EST


On Fri, Nov 04, 2022 at 10:15:08AM -0700, Linus Torvalds wrote:
> On Fri, Nov 4, 2022 at 9:01 AM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> >
> > So cmpxchg_double() does a cmpxchg on a double long value and is
> > currently supported by: i386, x86_64, arm64 and s390.
> >
> > On all those, except i386, two longs are u128.
> >
> > So how about we introduce u128 and cmpxchg128 -- then it directly
> > mirrors the u64 and cmpxchg64 usage we already have. It then also
> > naturally imposses the alignment thing.
>
> Ack

Out now: https://lkml.kernel.org/r/20221219153525.632521981@xxxxxxxxxxxxx