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-ia64-devel

Re: [Xen-devel] Question about evtchn_callback reentry

To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Question about evtchn_callback reentry
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Wed, 20 Dec 2006 10:31:34 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 20 Dec 2006 02:31:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <51CFAB8CB6883745AE7B93B3E084EBE207DDB3@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: AcciZU0dbGSEqQXwQrycerXX2pFPWAAIgEAJAAAfzJAAA9BF0QAE0ffJAE4l/cAAC5FSoQADF8ygAAEcqTc=
Thread-topic: [Xen-devel] Question about evtchn_callback reentry
User-agent: Microsoft-Entourage/11.2.5.060620
On 20/12/06 10:08, "Xu, Anthony" <anthony.xu@xxxxxxxxx> wrote:

> There is no other code operating the global_event_mask.
> Global_event_mask is initiated to 0(unmask).
> 
> Only global_event_mask is 0 and vcpu->vcpu_info->evtchn_upcall_mask is 0,
> Can XEN injects to event_callback_handler of dom0.

How much does injecting a stack frame on ia64 actually cost? It sounds like
it must be quite hideously expensive... I would be inclined to implement
this for x86 by adding the nesting detection into the callback handler
(i.e., the extra callback injection would not be avoided). Keeps the
hypervisor interface clean.

 -- Keir


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