WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] shadow OOS and fast path are incompatible

To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Subject: Re: [Xen-devel] shadow OOS and fast path are incompatible
From: Gianluca Guida <gianluca.guida@xxxxxxxxxxxxx>
Date: Fri, 3 Jul 2009 11:20:21 +0200
Cc: Frank van der Linden <Frank.Vanderlinden@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: 2009年7月03日 02:20:53 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=lzb5P/ZbvBrE8dhUGzZYDvge2NsLe7cGcNuN52GVYGI=; b=qS/4khSlistxv1sB+6Avhp2u7bTZLRKoIkeCQtOfQQGrZH9RwWVUytToYPLD/Ka/dA d9CKtIEqWKwsI5jEkzTo8exQ0CkQo8kslGhbhgST1MQuJy04r8vcJY7YW35qXgxoD9Ej Ag73TLhAAqvDQfxHLUzXYyDGOnEZgDus08SOw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Owjpxh8+Qi1scIEgkcTHI3vsPvGbuNOiF2VIF0pC7S9GNWAgBfGIq7VE4MADwo1NTp y6Ej23TAA91xuiDOJN72qGU7HEtgkWy9iC4ajXyJ+C8FnHFu6/Zm3FqgX5l5XP1N2XYH 0vh4kvN3pCR3nFw59BvCaXvarTdfv9kr1Uk9o=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090703085017.GU16056@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4A4D18DE.6070306@xxxxxxx> <f8877f640907021442u3ad44b64o3396fadca3d71fa8@xxxxxxxxxxxxxx> <20090703085017.GU16056@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
About the read-only MMIO,
On Fri, Jul 3, 2009 at 10:50 AM, Tim Deegan<Tim.Deegan@xxxxxxxxxx> wrote:
> Yes.  The fast-not-present path is safe without OOS because the changing
> L1 would have to be as a result of the guest writing it, which is a race
> on real hardware.   The fast-MMIO path is OK even with OOS because it
> only caches present entries, but for proper safety we might want to
> avoid using fast-path MMIO if the guest maps MMIO space read-only (does
> anyone actually do that?)
That is still correct. The fast path gets only the gfn + offset and
pass it to the mmio handling code, that will check the permission by
using proper locks.
Gianluca
-- 
It was a type of people I did not know, I found them very strange and
they did not inspire confidence at all. Later I learned that I had been
introduced to electronic engineers.
 E. W. Dijkstra
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] shadow OOS and fast path are incompatible , Gianluca Guida
Next by Date: [Xen-devel] Re: [PATCH] x86, hvm: Allow delivery of timer interrupts to VCPUs != 0. , Keir Fraser
Previous by Thread: Re: [Xen-devel] shadow OOS and fast path are incompatible , Gianluca Guida
Next by Thread: [Xen-devel] 'xm create' creates domains without a valid console tty , joe mcguckin
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /