From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Gorm Hansen Subject: Re: L1 page tables and get_pfn_type_batch() Date: Tue, 16 Aug 2005 14:01:53 +0200 Message-ID: <4301D5B1.1070504@diku.dk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Aaron J. Marks" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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