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:47:58 +0000
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 01 Apr 2008 01:49:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <add59a3f0803311115h1a388a1dvbf05fb9f3772a234@xxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17 (2007-11-01)
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.  I
don't recall off the top of my head why Michael introduced it except
that it was necessary for shadowing some kinds of PV guests.  It may
have been to do with the way the shadow-pagetable spinlocks used to
work.

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>