Re: [PATCH 00/11] ARC atomics update
From: Vineet Gupta <hidden>
Date: 2021-08-05 16:18:45
Also in:
lkml
On 8/5/21 2:02 AM, Peter Zijlstra wrote:
On Wed, Aug 04, 2021 at 12:15:43PM -0700, Vineet Gupta wrote:quoted
Vineet Gupta (10): ARC: atomics: disintegrate header ARC: atomic: !LLSC: remove hack in atomic_set() for for UP ARC: atomic: !LLSC: use int data type consistently ARC: atomic64: LLSC: elide unused atomic_{and,or,xor,andnot}_return ARC: atomics: implement relaxed variants ARC: bitops: fls/ffs to take int (vs long) per asm-generic defines ARC: xchg: !LLSC: remove UP micro-optimization/hack ARC: cmpxchg/xchg: rewrite as macros to make type safe ARC: cmpxchg/xchg: implement relaxed variants (LLSC config only) ARC: atomic_cmpxchg/atomic_xchg: implement relaxed variants Will Deacon (1): ARC: switch to generic bitopsDidn't see any weird things: Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Thx Peter. A lot of this is your code anyways ;-) Any initial thoughts/comments on patch 06/11 - is there an obvious reason that generic bitops take signed @nr or the hurdle is need to be done consistently cross-arch. -Vineet