Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S971075AbXHMJJe (ORCPT ); Mon, 13 Aug 2007 05:09:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S966945AbXHMGbc (ORCPT ); Mon, 13 Aug 2007 02:31:32 -0400 Received: from mx1.redhat.com ([66.187.233.31]:54581 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966936AbXHMGb0 (ORCPT ); Mon, 13 Aug 2007 02:31:26 -0400 Message-ID: <46BFFA71.4080601@redhat.com> Date: Mon, 13 Aug 2007 02:30:09 -0400 From: Chris Snook User-Agent: Thunderbird 2.0.0.0 (X11/20070419) MIME-Version: 1.0 To: Paul Mackerras CC: Linus Torvalds , "Luck, Tony" , Andreas Schwab , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, netdev@vger.kernel.org, akpm@linux-foundation.org, 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 Subject: Re: [PATCH 9/24] make atomic_read() behave consistently on ia64 References: <20070809135107.GA15985@shell.boston.redhat.com> <617E1C2C70743745A92448908E030B2A02213B3C@scsmsx411.amr.corp.intel.com> <46BCC1AF.5050204@redhat.com> <617E1C2C70743745A92448908E030B2A0224C777@scsmsx411.amr.corp.intel.com> <617E1C2C70743745A92448908E030B2A0224C88B@scsmsx411.amr.corp.intel.com> <46BCE9F8.4060009@redhat.com> <617E1C2C70743745A92448908E030B2A0224C8D7@scsmsx411.amr.corp.intel.com> <46BCF19E.5000702@redhat.com> <18109.1084.917429.585224@cargo.ozlabs.ibm.com> In-Reply-To: <18109.1084.917429.585224@cargo.ozlabs.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1058 Lines: 25 Paul Mackerras wrote: > Chris Snook writes: > >> I'll do this for the whole patchset. Stay tuned for the resubmit. > > Could you incorporate Segher's patch to turn atomic_{read,set} into > asm on powerpc? Segher claims that using asm is really the only > reliable way to ensure that gcc does what we want, and he seems to > have a point. > > Paul. I haven't seen a patch yet. I'm going to resubmit with inline volatile-cast atomic[64]_[read|set] on all architectures as a reference point, and if anyone wants to go and implement some of them in assembly, that's between them and the relevant arch maintainers. I have no problem with (someone else) doing it in assembly. I just don't think it's necessary and won't let it hold up the effort to get consistent behavior on all architectures. -- Chris - 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/