Re: [PATCH] ARC: atomics: Implement arch_atomic64_cmpxchg using _relaxed

2025-04-27 Thread Vineet Gupta
On 4/8/25 10:22, Jason Gunthorpe wrote: > The core atomic code has a number of macros where it elaborates > architecture primitives into more functions. ARC uses > arch_atomic64_cmpxchg() as it's architecture primitive which disable alot > of the additional functions. > > Instead provide arch_cmpxc

Re: [PATCH] ARC: unwind: Use built-in sort swap to reduce code size and improve performance

2025-04-27 Thread Vineet Gupta
On 4/9/25 10:11, Yu-Chun Lin wrote: > The custom swap function used in sort() was identical to the default > built-in sort swap. Remove the custom swap function and passes NULL to > sort(), allowing it to use the default swap function. > > This change reduces code size and improves performance, par