Skip to contentSkip to conversation

correct removing cpu from cpupool

PATCH New Juergen Gross 1 participant 1 message Aug 9, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 correct removing cpu from cpupool

Hi,

attached patch corrects an error introduced with cs 21422. Without the patch my machine crashed when removing a cpu from a cpupool other then Pool-0.

Juergen

Signature · 5 lines
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: [email protected]
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html
Signed-off-by [email protected]
xen/common/schedule.c +1 -1
diff -r 8992134dcfd0 xen/common/schedule.c
@@ -1306,7 +1306,7 @@ void schedule_cpu_switch(unsigned int cp
 
     spin_unlock_irqrestore(per_cpu(schedule_data, cpu).schedule_lock, flags);
 
-    SCHED_OP(old_ops, free_vdata, vpriv);
+    SCHED_OP(old_ops, free_vdata, vpriv_old);
     SCHED_OP(old_ops, free_pdata, ppriv_old, cpu);
 }
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel