Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750737AbWCCVSg (ORCPT ); Fri, 3 Mar 2006 16:18:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750803AbWCCVSg (ORCPT ); Fri, 3 Mar 2006 16:18:36 -0500 Received: from e36.co.us.ibm.com ([32.97.110.154]:36053 "EHLO e36.co.us.ibm.com") by vger.kernel.org with ESMTP id S1750737AbWCCVSf (ORCPT ); Fri, 3 Mar 2006 16:18:35 -0500 From: Hollis Blanchard Organization: IBM Linux Technology Center To: linuxppc64-dev@ozlabs.org Subject: Re: Memory barriers and spin_unlock safety Date: Fri, 3 Mar 2006 15:18:13 -0600 User-Agent: KMail/1.8.3 Cc: Benjamin Herrenschmidt , Linus Torvalds , akpm@osdl.org, linux-arch@vger.kernel.org, bcrl@linux.intel.com, matthew@wil.cx, linux-kernel@vger.kernel.org, mingo@redhat.com, jblunck@suse.de References: <32518.1141401780@warthog.cambridge.redhat.com> <1141419966.3888.67.camel@localhost.localdomain> In-Reply-To: <1141419966.3888.67.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603031518.15806.hollisb@us.ibm.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 860 Lines: 19 On Friday 03 March 2006 15:06, Benjamin Herrenschmidt wrote: > The main problem I've had in the past with the ppc barriers is more a > subtle thing in the spec that unfortunately was taken to the word by > implementors, and is that the simple write barrier (eieio) will only > order within the same storage space, that is will not order between > cacheable and non-cacheable storage. I've heard Sparc has the same issue... in which case it may not be a "chip designer was too literal" thing, but rather it really simplifies chip implementation to do it that way. -- Hollis Blanchard IBM Linux Technology Center - 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/