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

RE: [Xen-devel] Are linear page tables and writable page tablesincompatible?


  • To: "Kip Macy" <kip.macy@xxxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
  • Date: Tue, 19 Apr 2005 23:46:23 +0100
  • Delivery-date: Tue, 19 Apr 2005 22:46:14 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcVFGDl8UblXideCRPylBp5EInOzOQAFzRhA
  • Thread-topic: [Xen-devel] Are linear page tables and writable page tablesincompatible?

> At the start of day I enable writable page tables - and they 
> work, but only when accessed through a separate mapping. 
> FreeBSD's i386 pmap treats the page tables as an array that 
> is mapped right after userspace. Can writable page tables be 
> made to work in this context?

Interesting point, I don't think anyone's ever thought about this
before.

You'd need to maintain a copy of each L2 in which all the entries are
read only, and have the linear pt map slot point at that: Xen needs to
be able to selectively write enable the entries in writable page table
mode.

Ian


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