WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Add the missed rcu init for new added CPU

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Add the missed rcu init for new added CPU
From: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Date: Mon, 8 Mar 2010 14:26:05 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 07 Mar 2010 22:27:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acq+iDtZrCJHdiFCTKqLRswm00J6tQ==
Thread-topic: [PATCH] Add the missed rcu init for new added CPU
Add the missed rcu init for new added CPU.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@xxxxxxxxx>

diff -r 8dada4c897c9 xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c    Sat Mar 06 13:31:42 2010 +0000
+++ b/xen/arch/x86/smpboot.c    Mon Mar 08 13:29:58 2010 +0800
@@ -1391,6 +1391,7 @@ int cpu_up(unsigned int cpu)
                goto out;
        }
 
+    rcu_online_cpu(cpu);
        err = __cpu_up(cpu);
        if (err < 0)
                goto out;


Attachment: cpu_hotadd_rcu.patch
Description: cpu_hotadd_rcu.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Add the missed rcu init for new added CPU, Jiang, Yunhong <=