[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160601084623.GM3190@twins.programming.kicks-ass.net>
Date: Wed, 1 Jun 2016 10:46:23 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Boqun Feng <boqun.feng@...il.com>
Cc: torvalds@...ux-foundation.org, mingo@...nel.org,
tglx@...utronix.de, will.deacon@....com,
paulmck@...ux.vnet.ibm.com, waiman.long@....com,
fweisbec@...il.com, linux-kernel@...r.kernel.org,
linux-arch@...r.kernel.org, rth@...ddle.net, vgupta@...opsys.com,
linux@....linux.org.uk, egtvedt@...fundet.no, realmz6@...il.com,
ysato@...rs.sourceforge.jp, rkuo@...eaurora.org,
tony.luck@...el.com, geert@...ux-m68k.org, james.hogan@...tec.com,
ralf@...ux-mips.org, dhowells@...hat.com, jejb@...isc-linux.org,
mpe@...erman.id.au, schwidefsky@...ibm.com, dalias@...c.org,
davem@...emloft.net, cmetcalf@...lanox.com, jcmvbkbc@...il.com,
arnd@...db.de, dbueso@...e.de, fengguang.wu@...el.com
Subject: Re: [PATCH -v2 19/33] locking,powerpc: Implement
atomic{,64}_fetch_{add,sub,and,or,xor}{,_relaxed,_acquire,_release}()
On Wed, Jun 01, 2016 at 02:10:45PM +0800, Boqun Feng wrote:
> On Wed, Jun 01, 2016 at 11:11:38AM +0800, Boqun Feng wrote:
> > Looks like I missed this one in v1, it should be
> >
> > return res;
Indeed.
> > because the primitives will return the values before modified by the
> > operations.
> >
>
> FWIW, I tested on ppc with ATOMIC64_SELFTEST=y for the following branch:
Thanks, I'll add a tested-by tag with your name on ;-)
Powered by blists - more mailing lists