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

[Xen-devel] [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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.