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] L1 page tables and get_pfn_type_batch()

To: "Aaron J. Marks" <ajmarks@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] L1 page tables and get_pfn_type_batch()
From: Jacob Gorm Hansen <jacobg@xxxxxxx>
Date: Tue, 16 Aug 2005 14:01:53 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 16 Aug 2005 12:01:04 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.GSO.4.58.0508160757330.28454@xxxxxxxxxxxxxxxxxx>
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: <Pine.GSO.4.58.0508160757330.28454@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050529)
Aaron J. Marks wrote:
> hi all,
> 
> i have two questions regarding the page tables of domains.
> 
> 1. get_pfn_type_batch() seems to have a single-page limit. ie, trying to
> get pfn types for an array larger than a page fails. why the restriction?
> 
> 2. L1 page tables seem to contain mfns of not only L2 pages, but "normal"
> pages as well. can anyone explain this?

I am just guessing, but perhaps you are confusing Xen's (weird) notion
of what is L1 and what is L2. In Xen, the top-level page directory
(assuming two-level page tables) is considered L2, and the leaf page
tables are considered L1.

Jacob

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

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