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

[Xen-changelog] [xen-unstable] Fix tasklet_action() to notify correct cpu when running tasklet is rescheduled.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1271318623 -3600
# Node ID 25a2a8686b1ba914f743047bccac492f7e9ed521
# Parent  acba531824354ec390c3e270a96db328362e7b57
Fix tasklet_action() to notify correct cpu when running tasklet is rescheduled.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/common/softirq.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r acba53182435 -r 25a2a8686b1b xen/common/softirq.c
--- a/xen/common/softirq.c      Thu Apr 15 08:42:40 2010 +0100
+++ b/xen/common/softirq.c      Thu Apr 15 09:03:43 2010 +0100
@@ -149,7 +149,7 @@ static void tasklet_action(void)
         BUG_ON(t->is_dead || !list_empty(&t->list));
         list_add_tail(&t->list, &per_cpu(tasklet_list, t->scheduled_on));
         if ( t->scheduled_on != cpu )
-            cpu_raise_softirq(cpu, TASKLET_SOFTIRQ);
+            cpu_raise_softirq(t->scheduled_on, TASKLET_SOFTIRQ);
     }
 
     /*

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


 


Rackspace

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