All of lore.kernel.org
 help / color / mirror / Atom feed
* ia64 event channels
@ 2005-06-14 20:32 Matt Chapman
       [not found] ` <mailman.1118781182.16413@unix-os.sc.intel.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Chapman @ 2005-06-14 20:32 UTC (permalink / raw)
  To: Keir Fraser; +Cc: xen-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-06-15 20:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-14 20:32 ia64 event channels Matt Chapman
     [not found] ` <mailman.1118781182.16413@unix-os.sc.intel.com>
2005-06-14 22:17   ` Arun Sharma
2005-06-15  0:50     ` Matt Chapman
2005-06-15 19:29       ` [PATCH] " Matt Chapman
2005-06-15 20:15         ` Arun Sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.