From: Keir Fraser Subject: Re: cs 19927 crashes during boot with debug=y Date: Wed, 15 Jul 2009 08:31:59 +0100 Message-ID: References: <4A5DA0DC020000780000A7E3@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A5DA0DC020000780000A7E3@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , George Dunlap Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 15/07/2009 08:26, "Jan Beulich" wrote: > Just by looking at the code I spotted one place that needs fixing: > > for (cpu = 0; cpu < NR_CPUS; cpu++) { > cpus_clear(per_cpu(cpu_sibling_map, cpu)); > cpus_clear(per_cpu(cpu_core_map, cpu)); > } > > which clearly needs to be using for_each_possible_cpu(). (Huh, this is still > named for_each_cpu() - Keir, shouldn't we get this in sync with the Linux > naming?) Feel free to submit patches for both issues. I too prefer the new Linux name. -- Keir