Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422792AbWBIEgX (ORCPT ); Wed, 8 Feb 2006 23:36:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422793AbWBIEgX (ORCPT ); Wed, 8 Feb 2006 23:36:23 -0500 Received: from mf00.sitadelle.com ([212.94.174.67]:31189 "EHLO smtp.cegetel.net") by vger.kernel.org with ESMTP id S1422792AbWBIEgW (ORCPT ); Wed, 8 Feb 2006 23:36:22 -0500 Message-ID: <43EAC6BE.2060807@cosmosbay.com> Date: Thu, 09 Feb 2006 05:36:14 +0100 From: Eric Dumazet User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Andrew Morton Cc: riel@redhat.com, linux-kernel@vger.kernel.org, torvalds@osdl.org, mingo@elte.hu, ak@muc.de, 76306.1226@compuserve.com, wli@holomorphy.com, heiko.carstens@de.ibm.com Subject: Re: [PATCH] percpu data: only iterate over possible CPUs References: <200602051959.k15JxoHK001630@hera.kernel.org> <20060208190512.5ebcdfbe.akpm@osdl.org> <20060208190839.63c57a96.akpm@osdl.org> In-Reply-To: <20060208190839.63c57a96.akpm@osdl.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1596 Lines: 48 Andrew Morton a ?crit : > Andrew Morton wrote: >> Users of __GENERIC_PER_CPU definitely need cpu_possible_map to be initialised >> by the time setup_per_cpu_areas() is called, > > err, they'll need it once Eric's > dont-waste-percpu-memory-on-not-possible-CPUs patch is merged.. > >> so I think it makes sense to >> say "thou shalt initialise cpu_possible_map in setup_arch()". >> >> I guess Xen isn't doing that. Can it be made to? > > Lame fix: cpu_possible_map = (1<