Thread (10 messages) 10 messages, 2 authors, 2021-01-21

Re: [PATCH v2 1/5] csky: Remove custom asm/atomic.h implementation

From: Peter Zijlstra <peterz@infradead.org>
Date: 2021-01-07 11:20:46
Also in: lkml

On Sun, Dec 20, 2020 at 03:39:19PM +0000, guoren@kernel.org wrote:
From: Guo Ren <redacted>

Use generic atomic implementation based on cmpxchg. So remove csky
asm/atomic.h.
Clarification would be good. Typically cmpxchg() loops perform
sub-optimal on LL/SC architectures, due to the double loop construction.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help