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

Re: [Xen-devel] Pinning L1 page table with wrpt

To: Jacob Gorm Hansen <jacobg@xxxxxxx>
Subject: Re: [Xen-devel] Pinning L1 page table with wrpt
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 15 Aug 2005 10:16:21 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 15 Aug 2005 09:10:05 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43005865.7080208@xxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <43005285.3030300@xxxxxxx> <507393ea65cf6247a1e69db53530fead@xxxxxxxxxxxx> <43005865.7080208@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 15 Aug 2005, at 09:55, Jacob Gorm Hansen wrote:

And then Xen will pin them for me recursively, or they will not be
pinned at all but just checked against having writable references? I
seem to have a problem when combining writable pagetables and the
traditional pinned ones in the same domain. The pagetables I inherit
from the domain builder need to be unpinned before I can use the pages
they reference for my own page tables, or I get complaints about trying
to create a writable linear p.t.

Xen will infer their type when you pin the L2. At that point, they behave exactly the same as a pinned L1, until they are detached from the pinned L2 or the L2 itself is unpinned.

We play games with the initial p.t. in linux 2.6 as well. The code in arch/xen/i386/mm/init.c might be worth looking at, although it's pretty twisted stuff!

 -- Keir


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

<Prev in Thread] Current Thread [Next in Thread>