[PATCH] x86_64: Allocate PDAs in the local node
commit365ba9179f84244d2ffa98e46ae3cddfeb2ef6ff
authorRavikiran G Thirumalai <kiran@scalex86.org>
Wed, 11 Jan 2006 21:45:42 +0000 (11 22:45 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:04:59 +0000 (11 19:04 -0800)
treeb84be7f9f929d8084fa76af2618877439baee841
parentdf79efde82952edc653fa6eb1338a82b87aa0585
[PATCH] x86_64: Allocate PDAs in the local node

Patch uses a static PDA array early at boot and reallocates processor PDA
with node local memory when kmalloc is ready, just before pda_init.
The boot_cpu_pda is needed since the cpu_pda is used even before pda_init for
that cpu is called (to set the static per-cpu areas offset table etc)

Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/head64.c
arch/x86_64/kernel/setup64.c
arch/x86_64/kernel/smpboot.c
include/asm-x86_64/pda.h