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 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [PATCH] Allow removing writable mappings from splintered

To: "Gianluca Guida" <gianluca.guida@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH] Allow removing writable mappings from splintered page tables.
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Fri, 12 Sep 2008 13:08:34 -0400
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 12 Sep 2008 10:08:58 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=W/3tNGoDlMpUOfgs8zc4F0G+SGaG5GIE6CSGnquEZh0=; b=oM3tpaGrboFZMQzwcWREqf8RYK8/nzkvWzHlt4bggNdir4cydDWb+8XXJvRa5B8FHK XfyjRZlK9BGLtGkqAB47JDg3Am5xUA27Qfw3Q1bMyV48UfG3E3Mi1MeKQU0L9zVv/hEv qwLUaBGb+Jr+Btv27WR3jUVXmFz/RwwS8LAkk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=wbvuiDKt7Hz8WkecWUFrF7s+G+BWsLxi3QKoAfLEkuLNXAqCBV30M7N4u9yTbQ/VcJ 8o4jjvFM3YeUFufdM70V4SmGCUiGXbTTIX88ixR+fH1vFpk4Qg+uN9ILynmzoYzvy9fn hflzz6yiOlQqeOxCBk60Xv+2K75FjDZb44MKE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48CA9E19.2030201@xxxxxxxxxxxxx>
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: <48CA9E19.2030201@xxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Sep 12, 2008 at 12:51 PM, Gianluca Guida
<gianluca.guida@xxxxxxxxxxxxx> wrote:
> Hello,
>
> The moving of the pagetable mapping in the linux kernel exposed the fact
> that under the linux kernel sh_rm_write_access_from_sl1p was always failing.
>
> Linux seems to use big pages to access page tables, so we should instruct
> the shadow code to be able to remove writable mappings from splintered
> pagetables as well, avoiding using OS heuristic (which were failing in
> 2.6.27 before George patch, leading to brute-force search at each resync).
>
> Todd: Can you try try the linux-2.6.27 kernbench with the following patch?
> Also, are you using ioemu stub-domains? That should also give a performance
> gain.
>

Sure, I can give it a try. Should I also apply George's patch right?

I am not using ioemu stub-domains yet, would you recommend them in a general
sense or are they more of a special case?

Cheers,
Todd

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel