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

Re: [Xen-devel] Page tables in Xen


  • To: "Haifeng He" <hehaifeng2nd@xxxxxxxxx>
  • From: Satya <satyakiran@xxxxxxxxx>
  • Date: Thu, 29 Nov 2007 09:58:56 -0600
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 29 Nov 2007 07:59:33 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=yDOGTH44RW67WSD/03HyN8D58k8lsB7sPxSMsCTiFofEP+2+U9xJ6aJsGl5Zz/OgmpjodVeamDrKa+eHLcy+XVboQBWraZDSq9p9SrItR3h1O9lS5RDw9CfVDeWmRR/ntBtmWYI+VB+19TBTViuV4rW3n/YBtEdyMBIyTlIaqAY=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>



On Nov 28, 2007 4:49 AM, Haifeng He <hehaifeng2nd@xxxxxxxxx> wrote:
Hi,

I have a question about memory page tables in Xen. As far as I
understood, every modification
to page table will go through Xen(hypervisor).

that is correct.  The hypervisor must know (and validate) all page table updates.

Is it so that all page
tables are actually allocated
in Xen(hypervisor) instead of guest OS(domain)?

Nope. For page tables, the guest domain has to allocate pages from it's own memory pool. The guest domain must then inform the hypervisor about these pages so that Xen knows that they are page-table pages.
 
Also, is it the case
that Xen(hypervisor) needs to
maintain a page table for each process running in every domain?

No. Each domain maintains it's own page tables for processes. The hypervisor only needs to know which physical pages contain page table entries.

thanks,
satya.



Thanks

Haifeng

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



--
Take my advice. I don't use it anyway.
_______________________________________________
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®.