lkml.org 
[lkml]   [2024]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/8] sparc32: unify __cmpxchg_u{32,64}
On Tue, Apr 2, 2024, at 06:28, Al Viro wrote:
> Add a macro that expands to one of those when given u32 or u64
> as an argument - atomic32.c has a lot of similar stuff already.
>
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

I think we should merge Sam's series to remove non-CAS sparc32
first:

https://lore.kernel.org/all/20240309-sunset-v2-0-f09912574d2c@ravnborg.org/

I don't see a patch yet to actually change cmpxchg() to use CAS,
but it can probably just share the sparc64 implementation at
that point.

Arnd

\
 
 \ /
  Last update: 2024-05-27 16:18    [W:0.442 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site