[PATCH] powerpc: numa placement for dynamically added memory
commit237a0989e2902b7d43c4228a36d82f8691fb2118
authorMike Kravetz <kravetz@us.ibm.com>
Mon, 5 Dec 2005 20:06:42 +0000 (5 12:06 -0800)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 03:51:57 +0000 (9 14:51 +1100)
tree411b5e4978ac15ab283378610fef3941c880711a
parentb5666f70395016a55cc9d57826508b8a346398d0
[PATCH] powerpc: numa placement for dynamically added memory

This places dynamically added memory within the appropriate
numa node.  A new routine hot_add_scn_to_nid() replicates most of
the memory scanning code in parse_numa_properties().

Signed-off-by: Mike Kravetz <kravetz@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/mem.c
arch/powerpc/mm/numa.c
include/asm-powerpc/sparsemem.h