From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([66.187.233.31]:61396 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1750779AbWCHMep (ORCPT ); Wed, 8 Mar 2006 07:34:45 -0500 From: David Howells In-Reply-To: References: <31492.1141753245@warthog.cambridge.redhat.com> <17422.19209.60360.178668@cargo.ozlabs.ibm.com> Subject: Re: [PATCH] Document Linux's memory barriers Date: Wed, 08 Mar 2006 12:34:25 +0000 Message-ID: <27607.1141821265@warthog.cambridge.redhat.com> Sender: linux-arch-owner@vger.kernel.org To: Linus Torvalds Cc: Paul Mackerras , David Howells , akpm@osdl.org, mingo@redhat.com, linux-arch@vger.kernel.org, linuxppc64-dev@ozlabs.org, linux-kernel@vger.kernel.org List-ID: Linus Torvalds wrote: > > Linus explained recently that wmb() on x86 does not order stores to > > system memory w.r.t. stores to stores to prefetchable I/O memory (at > > least that's what I think he said ;). On i386 and x86_64, do IN and OUT instructions imply MFENCE? It's not obvious from the x86_64 docs. David