From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Paul E. McKenney" Subject: Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures Date: Wed, 15 Aug 2007 09:08:30 -0700 Message-ID: <20070815160830.GC9645@linux.vnet.ibm.com> References: <20070809131423.GA9927@shell.boston.redhat.com> <46C2D6F3.3070707@s5r6.in-berlin.de> <46C2FADB.7020407@s5r6.in-berlin.de> <20070815142516.GB9645@linux.vnet.ibm.com> <20070815153335.GA23593@gondor.apana.org.au> Reply-To: paulmck@linux.vnet.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Satyam Sharma , Stefan Richter , Christoph Lameter , Chris Snook , Linux Kernel Mailing List , linux-arch@vger.kernel.org, Linus Torvalds , netdev@vger.kernel.org, Andrew Morton , ak@suse.de, heiko.carstens@de.ibm.com, davem@davemloft.net, schwidefsky@de.ibm.com, wensong@linux-vs.org, horms@verge.net.au, wjiang@resilience.com, cfriesen@nortel.com, zlynx@acm.org, rpjday@mindspring.com, jesper.juhl@gmail.com, segher@kernel.crashing.org To: Herbert Xu Return-path: Received: from e6.ny.us.ibm.com ([32.97.182.146]:34204 "EHLO e6.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756698AbXHOQIf (ORCPT ); Wed, 15 Aug 2007 12:08:35 -0400 Content-Disposition: inline In-Reply-To: <20070815153335.GA23593@gondor.apana.org.au> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Wed, Aug 15, 2007 at 11:33:36PM +0800, Herbert Xu wrote: > On Wed, Aug 15, 2007 at 07:25:16AM -0700, Paul E. McKenney wrote: > > > > Do we really need another set of APIs? Can you give even one example > > where the pre-existing volatile semantics are causing enough of a problem > > to justify adding yet more atomic_*() APIs? > > Let's turn this around. Can you give a single example where > the volatile semantics is needed in a legitimate way? Sorry, but you are the one advocating for the change. Nice try, though! ;-) Thanx, Paul