Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965030AbWBGTNP (ORCPT ); Tue, 7 Feb 2006 14:13:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965009AbWBGTNP (ORCPT ); Tue, 7 Feb 2006 14:13:15 -0500 Received: from smtp.osdl.org ([65.172.181.4]:41927 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S965006AbWBGTNO (ORCPT ); Tue, 7 Feb 2006 14:13:14 -0500 Date: Tue, 7 Feb 2006 11:11:56 -0800 (PST) From: Linus Torvalds To: Dipankar Sarma , Richard Henderson , Ivan Kokshaysky cc: Andrew Morton , dada1@cosmosbay.com, heiko.carstens@de.ibm.com, Linux Kernel Mailing List , "David S. Miller" , James.Bottomley@steeleye.com, Ingo Molnar , axboe@suse.de, anton@samba.org, wli@holomorphy.com, ak@muc.de Subject: Re: [PATCH] percpu data: only iterate over possible CPUs In-Reply-To: <20060207185355.GC5771@in.ibm.com> Message-ID: References: <200602051959.k15JxoHK001630@hera.kernel.org> <20060207151541.GA32139@osiris.boeblingen.de.ibm.com> <43E8CA10.5070501@cosmosbay.com> <20060207093458.176ac271.akpm@osdl.org> <20060207183018.GA29056@in.ibm.com> <20060207185355.GC5771@in.ibm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 795 Lines: 23 On Wed, 8 Feb 2006, Dipankar Sarma wrote: > > I am looking at 2.6.16-rc1 and I don't see cpu_possible_map > being set in setup_smp() You're right, my bad. I looked at setup_smp() and how it walked through every CPU in the firmware, but it doesn't actually ever set the possible map, it fills in just hwrpb_cpu_present_mask (which is then then only used _later_ to set cpu_possible_map for some silly reason). As far as I can tell, "hwrpb_cpu_present_mask" is just wrong, and the code _should_ be using cpu_possible_map. rth? Ivan? Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/