From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Question about evtchn_callback reentry Date: Wed, 20 Dec 2006 10:31:34 +0000 Message-ID: References: <51CFAB8CB6883745AE7B93B3E084EBE207DDB3@pdsmsx412.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51CFAB8CB6883745AE7B93B3E084EBE207DDB3@pdsmsx412.ccr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Xu, Anthony" , Keir Fraser Cc: xen-devel@lists.xensource.com, xen-ia64-devel List-Id: xen-devel@lists.xenproject.org On 20/12/06 10:08, "Xu, Anthony" 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