This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] cpupool: correct removing cpu from cpupool
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 11 Aug 2010 13:55:47 -0700
Delivery-date: Wed, 11 Aug 2010 13:57:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] cpupool: correct removing cpu from cpupool, Xen patchbot-unstable <=