Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757213AbYFLRUL (ORCPT ); Thu, 12 Jun 2008 13:20:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753376AbYFLRT5 (ORCPT ); Thu, 12 Jun 2008 13:19:57 -0400 Received: from relay1.sgi.com ([192.48.171.29]:42836 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753254AbYFLRT4 (ORCPT ); Thu, 12 Jun 2008 13:19:56 -0400 Date: Thu, 12 Jun 2008 10:19:51 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Nick Piggin cc: Martin Peschke , Rusty Russell , Andrew Morton , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, David Miller , Eric Dumazet , Peter Zijlstra , Mike Travis Subject: Re: [patch 04/41] cpu ops: Core piece for generic atomic per cpu operations In-Reply-To: <200806122121.09835.nickpiggin@yahoo.com.au> Message-ID: References: <20080530035620.587204923@sgi.com> <200806121340.29366.nickpiggin@yahoo.com.au> <1213263470.25502.6.camel@kitka.ibm.com> <200806122121.09835.nickpiggin@yahoo.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 688 Lines: 13 Populating the per cpu areas on demand is a good thing especially for configurations with a large number of processors. If we really go to support 4k processor by default then we need to allocate the smallest amount of per cpu structures necessary. Maybe ACPI or so can tell us how many processors are possible and we only allocate those. But it would be best if the percpu structures are only allocated for actually active processors. -- 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/