Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934906AbXHPAbV (ORCPT ); Wed, 15 Aug 2007 20:31:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752840AbXHPAbD (ORCPT ); Wed, 15 Aug 2007 20:31:03 -0400 Received: from rhun.apana.org.au ([64.62.148.172]:1390 "EHLO arnor.apana.org.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752787AbXHPAbA (ORCPT ); Wed, 15 Aug 2007 20:31:00 -0400 Date: Thu, 16 Aug 2007 08:30:23 +0800 From: Herbert Xu To: "Paul E. McKenney" Cc: David Howells , 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 Subject: Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures Message-ID: <20070816003023.GA29447@gondor.apana.org.au> References: <46C2FADB.7020407@s5r6.in-berlin.de> <20070815142516.GB9645@linux.vnet.ibm.com> <4413.1187201997@redhat.com> <20070815184520.GG9645@linux.vnet.ibm.com> <20070815234146.GB28775@gondor.apana.org.au> <20070815235335.GU9645@linux.vnet.ibm.com> <20070816001248.GA29214@gondor.apana.org.au> <20070816002310.GW9645@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070816002310.GW9645@linux.vnet.ibm.com> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1435 Lines: 35 On Wed, Aug 15, 2007 at 05:23:10PM -0700, Paul E. McKenney wrote: > On Thu, Aug 16, 2007 at 08:12:48AM +0800, Herbert Xu wrote: > > On Wed, Aug 15, 2007 at 04:53:35PM -0700, Paul E. McKenney wrote: > > > > > > > > Communicating between process context and interrupt/NMI handlers using > > > > > per-CPU variables. > > > > > > > > Remeber we're talking about atomic_read/atomic_set. Please > > > > cite the actual file/function name you have in mind. > > > > > > Yep, we are indeed talking about atomic_read()/atomic_set(). > > > > > > We have been through this issue already in this thread. > > > > Sorry, but I must've missed it. Could you cite the file or > > function for my benefit? > > I might summarize the thread if there is interest, but I am not able to > do so right this minute. Thanks. But I don't need a summary of the thread, I'm asking for an extant code snippet in our kernel that benefits from the volatile change and is not part of a busy-wait. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/