Messages in this thread | | | Date | Mon, 19 Dec 2022 16:44:33 +0100 | From | Peter Zijlstra <> | Subject | Re: [PATCH 11/13] x86_64: Remove pointless set_64bit() usage |
| |
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@infradead.org> 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@infradead.org
| |