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

[Xen-devel] TLB-miss handling in Xen 3.0


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Amitayu Das" <amitayudas@xxxxxxxxx>
  • Date: Thu, 2 Mar 2006 16:27:05 -0500
  • Delivery-date: Thu, 02 Mar 2006 21:27:40 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=DNtC5LGHPYKo+F2QbkINs3D3BIqyr+UXotv1b9AMkC15UqKCdwY2VC62lZrVV9uQRFdVdlJ+MSsNBWcj8YuHGy7K+5vkrCxsEfomKePl544rlMUbT2tSaGt6zwe1aen7FPa/ZIRkHOiH728CqcW3C+X0FJE2kjZlGxRzxJ8dRH0=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

I had few questions about page-table used by guest-OSes. Xen interface 3.0 manual says that

1. Each guest-OS has got a *physical-to-machine* table where as the hypervisor has got a globally readable
*machine-to-physical* table.

My questions are the following:

1. An unmodified linux guest-OS would have *virtual-to-physical* mapping in its page-table. Given the    need of para-virtualization,
   does it have a *virtual-to-machine* mapping as well in addition to the mapping talked about in the interface manual?

2. If there exists such a *virtual-to-machine* mapping for a guest-OS (assuming the anwer to Q1 is "yes"), what happens for TLB miss for a process running inside a guest-OS?
    If the hypervisor is responsible for the update, is it aware of virtual address associated with a process running inside a guest-OS and how   does he do it? If any hardware circuitry is responsible for doing that, is it aware of
    virtual address associated with a process running inside a guest-OS and how does he do it?

3. If the answer to Q1 is "no", then is there anything that I'm missing here? And, in that case, can anyone please tell me how a TLB-miss for a process running inside a guest-OS is handled?

Thanks in advance,
Amitayu

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