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] Regarding page table management changes from Xen v1to Xe

To: Anthony Liguori <aliguori@xxxxxxxxxx>
Subject: Re: [Xen-devel] Regarding page table management changes from Xen v1to Xen v2 (and v3)
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 27 Apr 2006 09:23:33 +0100
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Himanshu Raj <rhim@xxxxxxxxxxxxx>
Delivery-date: Thu, 27 Apr 2006 01:23:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4450033E.7070505@xxxxxxxxxx>
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: <A95E2296287EAD4EB592B5DEEFCE0E9D4BA489@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <4450033E.7070505@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 27 Apr 2006, at 00:33, Anthony Liguori wrote:

Couldn't we temporarily map the page table page? Not that we would actually want to do that. Just trying to confirm my understand.


Sure, but that's expensive on 32b as map_domain_mem has to do real work
(it's cheap on 64b as we have a 1-to-1 map of machine memory).


Excellent, that's just what I thought.

Thanks Ian!

Where do you get the machine address of the page to map, given a linear address at the hypercall interface? You'd still need a linear mapping access, but you'd want to read out the pde not the pte.

 -- Keir


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

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