From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Np9Ou-0007iy-36 for qemu-devel@nongnu.org; Tue, 09 Mar 2010 19:03:48 -0500 Received: from [199.232.76.173] (port=51991 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Np9Ot-0007h9-5u for qemu-devel@nongnu.org; Tue, 09 Mar 2010 19:03:47 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Np9Os-0002yo-C7 for qemu-devel@nongnu.org; Tue, 09 Mar 2010 19:03:46 -0500 Received: from mx20.gnu.org ([199.232.41.8]:12232) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Np9Os-0002yk-3z for qemu-devel@nongnu.org; Tue, 09 Mar 2010 19:03:46 -0500 Received: from mail.codesourcery.com ([38.113.113.100]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Np9Or-0005t3-06 for qemu-devel@nongnu.org; Tue, 09 Mar 2010 19:03:45 -0500 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] Inter-VM shared memory PCI device Date: Wed, 10 Mar 2010 00:03:38 +0000 References: <1267833161-25267-1-git-send-email-cam@cs.ualberta.ca> <201003081303.45179.paul@codesourcery.com> <20100309201243.GH11042@shareable.org> In-Reply-To: <20100309201243.GH11042@shareable.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201003100003.38612.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jamie Lokier Cc: Cam Macdonell , qemu-devel@nongnu.org, kvm@vger.kernel.org, Avi Kivity > > In a cross environment that becomes extremely hairy. For example the x86 > > architecture effectively has an implicit write barrier before every > > store, and an implicit read barrier before every load. > > Btw, x86 doesn't have any implicit barriers due to ordinary loads. > Only stores and atomics have implicit barriers, afaik. As of March 2009[1] Intel guarantees that memory reads occur in order (they may only be reordered relative to writes). It appears AMD do not provide this guarantee, which could be an interesting problem for heterogeneous migration.. Paul [*] The most recent docs I have handy. Up to and including Core-2 Duo.