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

Re: [Xen-devel] Question about evtchn_callback reentry

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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.