Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752991AbcD0O4e (ORCPT ); Wed, 27 Apr 2016 10:56:34 -0400 Received: from mail-ig0-f178.google.com ([209.85.213.178]:36746 "EHLO mail-ig0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752493AbcD0O4d (ORCPT ); Wed, 27 Apr 2016 10:56:33 -0400 Date: Wed, 27 Apr 2016 22:59:37 +0800 From: Boqun Feng To: Pan Xinhui Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, peterz@infradead.org, paulmck@linux.vnet.ibm.com, tglx@linutronix.de Subject: Re: [PATCH V4] powerpc: Implement {cmp}xchg for u8 and u16 Message-ID: <20160427145937.GM3369@insomnia> References: <5715D04E.9050009@linux.vnet.ibm.com> <571782F0.2020201@linux.vnet.ibm.com> <5720837D.6050807@linux.vnet.ibm.com> <20160427135817.GJ3369@insomnia> <20160427145034.GL3369@insomnia> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oiL9LJXJsdjS5rzq" Content-Disposition: inline In-Reply-To: <20160427145034.GL3369@insomnia> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1107 Lines: 41 --oiL9LJXJsdjS5rzq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 27, 2016 at 10:50:34PM +0800, Boqun Feng wrote: >=20 > Sorry, my bad, we can't implement cmpxchg like this.. please ignore > this, I should really go to bed soon... >=20 > But still, we can save the "tmp" for xchg() I think. >=20 No.. we can't. Sorry for all the noise. This patch looks good to me. FWIW, you can add Acked-by: Boqun Feng Regards, Boqun --oiL9LJXJsdjS5rzq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJXINPVAAoJEEl56MO1B/q4PAsH/RTRO38BJInLKev/QqrL/dnO mPrTOZrX/CzzqfKqpIxDLOS8SJ9eOpc+QNgQJwfMaJF6b8RSKJHBfB3ePGMsi3tT WFjaoAfDu+LrswF6dgutSvndxD/Iy0GOcJpc+/CwYM1W7v5tTPiPIHyxAhueyeaQ O3nqtVEqpEOr3Rv3+pNAbxfwODaQKqOeY4x4QymHxePFRhZ9U+mXHnwm2dY/KyWV oHaLWGL1lXNc0PiKhvjolFpByZiYPD8M1RfVorlCL4/7JjnyhUVHtdMdhte4ScHd KLHrHSPyGYgEvy+xOY6sff6M1e5eGqBNaOwPPKq7x8F75KOeCnHh9TbtbGrvXzY= =LEN2 -----END PGP SIGNATURE----- --oiL9LJXJsdjS5rzq--