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] Re: is xen_l1_entry_update a nop?

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: is xen_l1_entry_update a nop?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 31 Oct 2006 09:43:50 +0000
Cc: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Delivery-date: Thu, 02 Nov 2006 13:42:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D470B4E54465E3469E2ABBC5AFAC390F051331@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: Acb8zynVePHZfGIaTHeWU4M9UgxFFgAAefDJ
Thread-topic: is xen_l1_entry_update a nop?
User-agent: Microsoft-Entourage/11.2.5.060620
On 31/10/06 09:30, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:

> 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. :-(

Have you disassembled xen_l1_entry_update() and checked that it appears to
actually execute a hypercall?

The BUG_ON() with side effect is considered bad form. It should really be
if() BUG().

 -- Keir



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

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