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

[Xen-changelog] [xen-unstable] cpupool: correct removing cpu from cpupool



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1281368349 -3600
# Node ID 07ea977397e0f7bde649d2542bba037fd2a951bf
# Parent  2129cabe5f3322324587e4d640e27179960717d9
cpupool: correct removing cpu from cpupool

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

Signed-off-by: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
---
 xen/common/schedule.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 2129cabe5f33 -r 07ea977397e0 xen/common/schedule.c
--- a/xen/common/schedule.c     Mon Aug 09 16:37:33 2010 +0100
+++ b/xen/common/schedule.c     Mon Aug 09 16:39:09 2010 +0100
@@ -1313,7 +1313,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-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®.