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

[Xen-devel] ia64 event channels



This is the one change we've made to architecture-independent code
for event channels.  Rather than polling the event channel flags
on every return, we pend an interrupt in evtchn_set_pending.

This might be better abstracted into some architecture-dependent
header file, but I'm not sure where.  We could add an asm/event.h,
though it does seem a bit excessive to add a file just for one
trivial hook.

Matt


===== event.h 1.26 vs 1.27 =====
--- 1.26/xen/include/xen/event.h        Fri Jun  3 10:42:09 2005
+++ 1.27/xen/include/xen/event.h        Fri Jun 10 17:26:21 2005
@@ -34,6 +34,9 @@
     {
         /* The VCPU pending flag must be set /after/ update to evtchn-pend. */
         set_bit(0, &v->vcpu_info->evtchn_upcall_pending);
+#ifdef __ia64__
+       vcpu_pend_interrupt(v, s->arch.evtchn_vector);
+#endif
 
         /*
          * NB1. 'vcpu_flags' and 'processor' must be checked /after/ update of

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


 


Rackspace

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