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

[Xen-devel] [PATCH] smp: assert that all affected CPUs are online in on_selected_cpus()



Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Suggested-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>

--- a/xen/common/smp.c
+++ b/xen/common/smp.c
@@ -53,6 +53,7 @@ void on_selected_cpus(
     unsigned int nr_cpus;
 
     ASSERT(local_irq_is_enabled());
+    ASSERT(cpumask_subset(selected, &cpu_online_map));
 
     spin_lock(&call_lock);
 



Attachment: osc-assert.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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