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

[XenPPC] [pushed]in the case of event_pending() we need to know if the e

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [pushed]in the case of event_pending() we need to know if the event is deliverable
From: jimix@xxxxxxxxxxxxxx
Date: Mon, 27 Mar 2006 16:58:09 -0500
Delivery-date: Mon, 27 Mar 2006 21:57:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
changeset:   9653:f54c3813a5f7
parent:      9457:fd4dd4cdacbe
parent:      9652:347b0f87cbd3
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Mon Mar 27 13:53:57 2006 -0500
summary:     in the case of event_pending() we need to know if the event is 
deliverable

diff -r fd4dd4cdacbe -r f54c3813a5f7 xen/include/xen/sched.h
--- a/xen/include/xen/sched.h   Fri Mar 24 17:50:52 2006 -0500
+++ b/xen/include/xen/sched.h   Mon Mar 27 13:53:57 2006 -0500
@@ -14,6 +14,10 @@
 #include <xen/grant_table.h>
 #include <xen/rangeset.h>
 #include <asm/domain.h>
+
+#ifndef arch_event_deliverable
+#define arch_event_deliverable (1)
+#endif
 
 extern unsigned long volatile jiffies;
 extern rwlock_t domlist_lock;
@@ -318,8 +322,8 @@ unsigned long hypercall_create_continuat
     unsigned int op, const char *format, ...);
 
 #define hypercall_preempt_check() (unlikely(    \
-        softirq_pending(smp_processor_id()) |   \
-        event_pending(current)                  \
+        softirq_pending(smp_processor_id()) | \
+        (event_pending(current) & arch_event_deliverable)  \
     ))
 
 /* This domain_hash and domain_list are protected by the domlist_lock. */



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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [pushed]in the case of event_pending() we need to know if the event is deliverable, jimix <=