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

[Xen-devel] When to emulate writing page table page and when to do_update_va_mapping()?


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Tom Creck" <tom-xen@xxxxxxxxxxx>
  • Date: Thu, 3 Jul 2008 14:33:11 +0800
  • Delivery-date: Wed, 02 Jul 2008 23:33:39 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acjc1j4RNuYB/VxoQo6xCaVXgqUdbA==

Hello, everyone:

 

         I know that x86_emulate_memop() is used to emulate writing to page table pages as Xen intentionally write protect page table pages.

         Also, the hypercall Hypervisor_update_va_mapping() -> mod_l2/l1_entry() is also used to modify page table pages.

         So I get confused about their difference. My questions are:

 

(1)     When are the above two routines of modifying page table pages invoked respectively?

(2)     What’s the difference in functionality among the two?

 

Best Wishes

Tom

 

 

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