Re: [discuss] [patch 3/3] x86_64: Node local pda take 2 -- node local pda allocation

From: Andi Kleen
Date: Thu Dec 15 2005 - 19:20:29 EST


> So are you suggesting I use alloc_bootmem_node and allocate PDA for
> NR_CPUS?

Continue to allocate the boot PDA of the BP statically - this should
be ok because BP should be always on node 0 (or if you're paranoid
about it you could also reallocate, but it's probably not needed)

And for the APs you allocate the PDA in smpboot.c before actually sending
the startup IPI to the AP.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/