[PATCH 00/05] robust per_cpu allocation for modules
Tony Luck
tony.luck at intel.com
Mon Apr 17 04:03:03 EST 2006
On 4/16/06, Arnd Bergmann <arnd at arndb.de> 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
More information about the Linuxppc-dev
mailing list