xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [Patch] correct removing cpu from cpupool
@ 2010-08-09 12:13 Juergen Gross
  0 siblings, 0 replies; only message in thread
From: Juergen Gross @ 2010-08-09 12:13 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

[-- Attachment #1: Type: text/plain, Size: 531 bytes --]

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

-- 
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@ts.fujitsu.com
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html

[-- Attachment #2: cpupool_21422.diff --]
[-- Type: text/plain, Size: 499 bytes --]

Signed-off-by: juergen.gross@ts.fujitsu.com

diff -r 8992134dcfd0 xen/common/schedule.c
--- a/xen/common/schedule.c	Wed Aug 04 19:24:17 2010 +0100
+++ b/xen/common/schedule.c	Mon Aug 09 14:09:10 2010 +0200
@@ -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);
 }
 

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-09 12:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-09 12:13 [Patch] correct removing cpu from cpupool Juergen Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).