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] Page tables in Xen

To: "Haifeng He" <hehaifeng2nd@xxxxxxxxx>
Subject: Re: [Xen-devel] Page tables in Xen
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=5LSyQQ5xzjnKgigppbexD6qQYLD8t4KFzsms8laGNpc=; b=vLHufV9b1vCY9Xio0b0eBxovgx9Sb8CsFwxjydhBTuY4QwgP1+W0PYXqYpoC2vWkQRu7gBMOKhZXqMJF5JscvVZR6Wgx5wRw95ImFX1zdQ3aKUTj/q/pqgWSuBQtZ9xtw6G5jHZYw00ewBKfPk8+hshGBauYQgTjAnm2bWSL/PY=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <ab08258e0711280249x64d31ee8x7a51f392acae8477@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: <ab08258e0711280249x64d31ee8x7a51f392acae8477@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


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
<Prev in Thread] Current Thread [Next in Thread>