From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH 00/20] arch atomic 'cleanup' Date: Wed, 24 Sep 2014 17:54:06 +0100 Message-ID: <20140924165405.GJ16244@arm.com> References: <20140508135840.956784204@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20140508135840.956784204@infradead.org> Sender: linux-kernel-owner@vger.kernel.org To: Peter Zijlstra Cc: "linux-arch@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "torvalds@linux-foundation.org" , "akpm@linux-foundation.org" , "mingo@kernel.org" , "paulmck@linux.vnet.ibm.com" List-Id: linux-arch.vger.kernel.org Hi Peter, On Thu, May 08, 2014 at 02:58:40PM +0100, Peter Zijlstra wrote: > This series continues the arch atomic rework started with the smp_mb__ > interface cleanup. > > In this series we (mostly) reduce the atomic implementations by eliminating > repetition through use of CPP macros. > > A future series will use these macros to implement more atomic ops. With these > macros we can end up with more atomic ops while the total LoC still shrinks. > > Furthermore, rewrite the asm-generic/atomic implementations to require less and > provide more. > > This series is compile tested on a number of archs, but only boot tested on > x86_64. What's the status on this series? I'm currently fleshing out an extension to the atomic API that allows more flexible acquire/release semantics and it doesn't make sense for me to copy-paste a bunch of code when I could build it on top of this instead. Also, do you have any other patches pending in this area? I've lost track... Cheers, Will From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:41159 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753839AbaIXQy3 (ORCPT ); Wed, 24 Sep 2014 12:54:29 -0400 Date: Wed, 24 Sep 2014 17:54:06 +0100 From: Will Deacon Subject: Re: [PATCH 00/20] arch atomic 'cleanup' Message-ID: <20140924165405.GJ16244@arm.com> References: <20140508135840.956784204@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140508135840.956784204@infradead.org> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Peter Zijlstra Cc: "linux-arch@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "torvalds@linux-foundation.org" , "akpm@linux-foundation.org" , "mingo@kernel.org" , "paulmck@linux.vnet.ibm.com" Message-ID: <20140924165406.nspS5H10HVtcds7BqusU9yZX9VwPZO7kxyzHVw8EU5k@z> Hi Peter, On Thu, May 08, 2014 at 02:58:40PM +0100, Peter Zijlstra wrote: > This series continues the arch atomic rework started with the smp_mb__ > interface cleanup. > > In this series we (mostly) reduce the atomic implementations by eliminating > repetition through use of CPP macros. > > A future series will use these macros to implement more atomic ops. With these > macros we can end up with more atomic ops while the total LoC still shrinks. > > Furthermore, rewrite the asm-generic/atomic implementations to require less and > provide more. > > This series is compile tested on a number of archs, but only boot tested on > x86_64. What's the status on this series? I'm currently fleshing out an extension to the atomic API that allows more flexible acquire/release semantics and it doesn't make sense for me to copy-paste a bunch of code when I could build it on top of this instead. Also, do you have any other patches pending in this area? I've lost track... Cheers, Will