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

[Xen-devel] PAE & hypercall interfaces



  Hi folks,

As mentioned already in the pae patch mail, the xen hypercall
interfaces needs some changes.  The affected calls (hope I
didn't miss one) are:

 * do_mmuext_op
 * do_update_va_mapping & friends

The problem is that in PAE mode the page table entries are
64bit-sized instead of 32bit, and the current hypercall
interfaces allow to pass 32bit values only.

Current state is that the PAE code simply passes the lower
32 bits only, which will work fine as long as nobody attempts
to address memory above 4GB.  That obviously isn't an option,
the whole point of the PAE attempts is to use the memory above
4GB ;)

The options we have are:

  (1) make page table entrys 64bit wide everythere.
  (2) make page table entrys 64bit wide in PAE mode only.
  (3) pass two values: 32bit page frame number & flags.
  (4) others?

I'd prefeare option (1), option (3) is reasonable as well I
think.  I don't think (2) is a good idea, that will cause some
very nasty problems in case we'll try to allow non-PAE guests in
PAE mode.

Comments?

  Gerd

-- 
-mm seems unusually stable at present.
        -- akpm about 2.6.12-rc3-mm3

_______________________________________________
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®.