Re: [RFC][PATCH 11/12] slub: Replace cmpxchg_double()

From: Heiko Carstens
Date: Tue Jan 03 2023 - 12:18:01 EST


On Mon, Dec 19, 2022 at 04:35:36PM +0100, Peter Zijlstra wrote:
>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
> ---
> include/linux/slub_def.h | 12 ++-
> mm/slab.h | 41 +++++++++++--
> mm/slub.c | 146 ++++++++++++++++++++++++++++-------------------
> 3 files changed, 135 insertions(+), 64 deletions(-)

Does this actually work? Just wondering since I end up with an instant
list corruption on s390. Might be endianness related, but I can't see
anything obvious at a first glance.