[PATCH] ppc64: cpu hotplug notifier for numa

Nathan Lynch nathanl at austin.ibm.com
Sun Oct 24 05:02:08 EST 2004

On Sat, 2004-10-23 at 03:40, Paul Mackerras wrote:
> Nathan Lynch writes:
> > This patch modifies the ppc64 numa code to map a cpu to its node right
> > before it is brought up -- this means that secondary cpus are now
> > mapped to their nodes during smp_init() (regardless of whether
> > CONFIG_HOTPLUG_CPU=y).  Cpus are removed from their nodes after they
> > have gone offline.
> I get this when compiling with CONFIG_NUMA=n:
> arch/ppc64/mm/numa.c:243: warning: `cpu_numa_callback' defined but not used
> Only a small point, but it would be nicer if that was fixed.

I assume you meant CONFIG_HOTPLUG_CPU=n.  That warning actually
indicates a bug; I'm registering the notifier in the wrong way.

Will send a corrected patch.


More information about the Linuxppc64-dev mailing list