debuggers.hg

changeset 21222:25a2a8686b1b

Fix tasklet_action() to notify correct cpu when running tasklet is rescheduled.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Apr 15 09:03:43 2010 +0100 (2010-04-15)
parents acba53182435
children 93ac55cf3e40
files xen/common/softirq.c
line diff
     1.1 --- a/xen/common/softirq.c	Thu Apr 15 08:42:40 2010 +0100
     1.2 +++ b/xen/common/softirq.c	Thu Apr 15 09:03:43 2010 +0100
     1.3 @@ -149,7 +149,7 @@ static void tasklet_action(void)
     1.4          BUG_ON(t->is_dead || !list_empty(&t->list));
     1.5          list_add_tail(&t->list, &per_cpu(tasklet_list, t->scheduled_on));
     1.6          if ( t->scheduled_on != cpu )
     1.7 -            cpu_raise_softirq(cpu, TASKLET_SOFTIRQ);
     1.8 +            cpu_raise_softirq(t->scheduled_on, TASKLET_SOFTIRQ);
     1.9      }
    1.10  
    1.11      /*