[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <X/buKPr5OCH3C32J@hirez.programming.kicks-ass.net>
Date: Thu, 7 Jan 2021 12:19:04 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: guoren@...nel.org
Cc: arnd@...db.de, linux-kernel@...r.kernel.org,
linux-csky@...r.kernel.org, linux-arch@...r.kernel.org,
Guo Ren <guoren@...ux.alibaba.com>,
Arnd Bergmann <arnd@...nel.org>,
"Paul E . McKenney" <paulmck@...nel.org>
Subject: Re: [PATCH v2 1/5] csky: Remove custom asm/atomic.h implementation
On Sun, Dec 20, 2020 at 03:39:19PM +0000, guoren@...nel.org wrote:
> From: Guo Ren <guoren@...ux.alibaba.com>
>
> 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.
Powered by blists - more mailing lists