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

[Xen-devel] is xen_l1_entry_update a nop?

To: "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] is xen_l1_entry_update a nop?
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Tue, 31 Oct 2006 17:30:11 +0800
Cc: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Delivery-date: Thu, 02 Nov 2006 13:47:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acb8zynVePHZfGIaTHeWU4M9UgxFFg==
Thread-topic: is xen_l1_entry_update a nop?
There's an interesting finding about xen_l1_entry_update in dom0, when
we're doing some debug.

We add a printk within xen_l1_entry_update (in xenlinux), and also add a
printk at very start of each do_mmu_update (in xen). However what we
observed is:
        - All xen_l1_entry_update prints have no corresponding
do_mmu_update prints
        - All do_mmu_update prints also have no corresponding
xen_l1_entry_update.

So it seems that do_mmu_update is not invoked although
xen_l1_entry_update is implemented as:
--
BUG_ON(HYPERVISOR_mmu_update(&u, 1, NULL, DOMID_SELF) < 0);
--

However it seems that at least all __set_fix_maps depend on
xen_l1_entry_update path, and if it's a nop, how is xenlinux page table
modified indeed? Because we did see dom0 working correctly.

Our environment is x86-64. :-(

Thanks,
Kevin

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

<Prev in Thread] Current Thread [Next in Thread>