[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 16/38] arm: Add simple cpu_{sibling, core}_mask
At 12:35 +0100 on 07 Jun (1339072547), Ian Campbell wrote: > From e980ca1ec9bf92b2f1255ac5222b1da1292f9f72 Mon Sep 17 00:00:00 2001 > From: Ian Campbell <ian.campbell@xxxxxxxxxx> > Date: Mon, 14 May 2012 12:25:31 +0100 > Subject: [PATCH] arm: Add simple cpu_{sibling,core}_mask > > This needs to be done for all cpus. The allocations require smp_prepare_cpus > to be called a bit later on. > > In a previous version of this patch these maps were being zeroed (instead of > setting the CPU itself in them). This in turn causes cpumask_first to return > NR_CPUS, which in turn was causing default_vcpu0_location to misbehave and > read off the end of its cnt array. Add a couple of asserts to catch this in > the future. > > Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> (ARM stuff) Acked-by: Tim Deegan <tim@xxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |