Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751027AbWCIB5m (ORCPT ); Wed, 8 Mar 2006 20:57:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751380AbWCIB5m (ORCPT ); Wed, 8 Mar 2006 20:57:42 -0500 Received: from ozlabs.org ([203.10.76.45]:53928 "EHLO ozlabs.org") by vger.kernel.org with ESMTP id S1751027AbWCIB5l (ORCPT ); Wed, 8 Mar 2006 20:57:41 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17423.34439.977741.295065@cargo.ozlabs.ibm.com> Date: Thu, 9 Mar 2006 12:36:07 +1100 From: Paul Mackerras To: Jesse Barnes Cc: Matthew Wilcox , Linus Torvalds , David Howells , Alan Cox , akpm@osdl.org, mingo@redhat.com, linux-arch@vger.kernel.org, linuxppc64-dev@ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Document Linux's memory barriers [try #2] In-Reply-To: <200603081659.05786.jbarnes@virtuousgeek.org> References: <20060308184500.GA17716@devserv.devel.redhat.com> <20060308194037.GO7301@parisc-linux.org> <17423.30924.278031.151438@cargo.ozlabs.ibm.com> <200603081659.05786.jbarnes@virtuousgeek.org> X-Mailer: VM 7.19 under Emacs 21.4.1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 620 Lines: 16 Jesse Barnes writes: > It uses a per-node address space to reference the local bridge. The > local bridge then waits until the remote bridge has acked the write > before, then sets the outstanding write register to the appropriate > value. That sounds like mmiowb can only be used when preemption is disabled, such as inside a spin-locked region - is that right? Paul. - 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/