[RFC patch] powerpc: Add topology_ready to machdep calls

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Feb 12 15:21:59 EST 2009


On Wed, 2009-02-11 at 15:30 -0800, Geoff Levand wrote:
> Add a new member topology_ready to the powerpc machdep_calls
> structure.
> 
> The NUMA hot plug memory routines require the NUMA node to have
> been registered via register_one_node() prior to adding memory
> to the node.  The powerpc arch registers NUMA nodes during
> startup in its topology_init() routine.

Just a question.. what's wrong with just using some later kind of
initcall ? You want to get the memory added as early as possible ?

Cheers,
Ben.





More information about the Linuxppc-dev mailing list