From: James Bottomley Subject: Re: [PATCH 01/10] percpu: use dynamic percpu allocator as the default percpu allocator Date: Wed, 24 Jun 2009 18:47:55 -0500 Message-ID: <1245887275.4022.619.camel@mulgrave.site> References: <1245825924-30412-1-git-send-email-tj@kernel.org> <1245825924-30412-2-git-send-email-tj@kernel.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from bedivere.hansenpartnership.com ([66.63.167.143]:34180 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751898AbZFXXsA (ORCPT ); Wed, 24 Jun 2009 19:48:00 -0400 In-Reply-To: <1245825924-30412-2-git-send-email-tj@kernel.org> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Tejun Heo Cc: linux-kernel@vger.kernel.org, x86@kernel.org, linux-arch@vger.kernel.org, mingo@elte.hu, kyle@mcmartin.ca, cl@linux-foundation.org, Jesper.Nilsson@axis.com, benh@kernel.crashing.org, paulmck@linux.vnet.ibm.com, rusty@rustcorp.com.au, torvalds@linux-foundation.org, akpm@linux-foundation.org, Paul Mundt , Russell King , Mikael Starvik , Ralf Baechle , Bryan Wu , Matthew Wilcox , Grant Grundler , Hirokazu Takata , Richard Henderson , Ivan Kokshaysky , Heiko Carstens On Wed, 2009-06-24 at 15:45 +0900, Tejun Heo wrote: > This patch makes most !CONFIG_HAVE_SETUP_PER_CPU_AREA archs use > dynamic percpu allocator. The first chunk is allocated using > embedding helper and 8k is reserved for modules. This ensures that > the new allocator behaves almost identically to the original allocator > as long as static percpu variables are concerned, so it shouldn't > introduce much breakage. > > s390 and alpha use custom SHIFT_PERCPU_PTR() to work around addressing > range limit the addressing model imposes. Unfortunately, this breaks > if the address is specified using a variable, so for now, the two > archs aren't converted. > > The following architectures are affected by this change. > > * sh > * arm > * cris > * mips > * sparc(32) > * blackfin > * avr32 > * parisc (broken, under investigation) OK, I thought I'd investigate this. Unfortunately, your git tree doesn't build when pulled into head ... could you update? mm/percpu.c: In function 'setup_per_cpu_areas': mm/percpu.c:2007: error: too many arguments to function 'pcpu_embed_first_chunk' James