From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.175]) by ozlabs.org (Postfix) with ESMTP id 1A1B667A73 for ; Mon, 17 Apr 2006 04:03:25 +1000 (EST) Received: by uproxy.gmail.com with SMTP id k3so260544ugf for ; Sun, 16 Apr 2006 11:03:23 -0700 (PDT) Message-ID: <12c511ca0604161103l3013f5f1t99c93ee38f102e95@mail.gmail.com> Date: Sun, 16 Apr 2006 11:03:03 -0700 From: "Tony Luck" Sender: tony.luck@gmail.com To: "Arnd Bergmann" Subject: Re: [PATCH 00/05] robust per_cpu allocation for modules In-Reply-To: <200604161734.20256.arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <1145049535.1336.128.camel@localhost.localdomain> <17473.60411.690686.714791@cargo.ozlabs.ibm.com> <1145194804.27407.103.camel@localhost.localdomain> <200604161734.20256.arnd@arndb.de> Cc: Andrew Morton , linux-mips@linux-mips.org, David Mosberger-Tang , linux-ia64@vger.kernel.org, Martin Mares , spyro@f2s.com, Joe Taylor , Andi Kleen , linuxppc-dev@ozlabs.org, Paul Mackerras , benedict.gaster@superh.com, bjornw@axis.com, Ingo Molnar , Nick Piggin , grundler@parisc-linux.org, rusty@rustcorp.com.au, Steven Rostedt , starvik@axis.com, Linus Torvalds , Thomas Gleixner , rth@twiddle.net, Chris Zankel , LKML , ralf@linux-mips.org, Marc Gauthier , lethal@linux-sh.org, schwidefsky@de.ibm.com, linux390@de.ibm.com, davem@davemloft.net, parisc-linux@parisc-linux.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 4/16/06, Arnd Bergmann wrote: > #define PER_CPU_BASE 0xe000000000000000UL /* arch dependant */ On ia64 the percpu area is at 0xffffffffffff0000 so that it can be addressed without tying up another register (all percpu addresses are small negative offsets from "r0"). When David Mosberger chose this address he said that gcc 4 would actually make ue of this, but I haven't checked the generated code to see whether it really is doing so. -Tony