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] Re: what's the purpose of linear page table (PML4 entry

To: weiming <zephyr.zhao@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: what's the purpose of linear page table (PML4 entry 258)
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Tue, 1 Apr 2008 08:52:18 +0000
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 01 Apr 2008 01:53:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080401084758.GB4628@xxxxxxxxxxxxxxxxxxxxx>
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: <add59a3f0803311115h1a388a1dvbf05fb9f3772a234@xxxxxxxxxxxxxx> <20080401084758.GB4628@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17 (2007-11-01)
At 08:47 +0000 on 01 Apr (1207039678), Tim Deegan wrote:
> At 14:15 -0400 on 31 Mar (1206972951), weiming wrote:
> > I find that it give the same pte value as I manually walking the 4 level
> > page table directory.
> > So I guest it facilitates the locating of a pte from va. It removes the
> > 4-level looking up process: pgd->pud->pmd->pt->pte
> > It saves time. Am I right?
> 
> IIRC, it just does that walk internally and hands back the answer. 

Excuse me, not enough coffee.  Yes, it uses the linear mapping of the
pagetable to save time.

Tim.

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Citrix Systems (R&D) Ltd.
[Company #02300071, SL9 0DZ, UK.]

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

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