[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Question regarding the number of P2M l3e entries


  • To: "Huang2, Wei" <Wei.Huang2@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Tue, 03 Apr 2007 07:33:04 +0100
  • Delivery-date: Mon, 02 Apr 2007 23:30:47 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acd1uNeEikWwl1aISe2V4WQ5S2lkqwAARdXv
  • Thread-topic: [Xen-devel] Question regarding the number of P2M l3e entries

See the comment just above line 197. The P2M is a special ‘extended’ PAE pagetable with double the number of top-level slots. This gives PAE guests an 8GB pseudophysical address space. OF course if the P2M is actually used as a shadow pagetable (i.e., because an HVM guest has paging disabled) then only the first four slots will be used for the shadow pagetable, and only the first 4GB of the pseuodphysical address space will be accessible from guest context.

 -- Keir

On 3/4/07 07:25, "Huang2, Wei" <Wei.Huang2@xxxxxxx> wrote:

In p2m.c (line 197 and line 550), the code assumes the number of L3 P2M table entries is 8 (under PAE mode). According to Intel and AMD specs, it is 4. Could someone explain this discrepancy? Is it a bug?

-Wei


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

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.