android_kernel_xiaomi_sm8350/arch/powerpc
Nathan Lynch 482ec7c403 [PATCH] powerpc numa: Support sparse online node map
The powerpc numa code unconditionally onlines all nodes from 0 to the
highest node id found, regardless of whether cpus or memory are
present in the nodes.  This wastes 8K per node and complicates some
cpu and memory hotplug situations, such as adding a resource that
doesn't map to one of the nodes discovered at boot.

Set nodes online as resources are scanned.  Fall back to node 0 only
when we're sure this isn't a NUMA machine.

Instead of defaulting to node 0 for cases of hot-adding a resource
which doesn't belong to any initialized node, assign it to the first
online node.

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-03-22 15:04:01 +11:00
..
boot Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
configs Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
kernel Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
lib [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mm [PATCH] powerpc numa: Support sparse online node map 2006-03-22 15:04:01 +11:00
oprofile [PATCH] powerpc: disable OProfile for iSeries 2006-02-24 11:36:27 +11:00
platforms Merge branch '85xx' of git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc 2006-03-22 13:46:53 +11:00
sysdev Merge ../powerpc-merge 2006-02-24 14:05:47 +11:00
xmon [PATCH] powerpc: add a raw dump command to xmon 2006-03-17 13:22:33 +11:00
Kconfig Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
Kconfig.debug [PATCH] powerpc: Make early debugging configurable via Kconfig 2006-01-11 14:48:26 +11:00
Makefile Merge ../powerpc-merge 2006-02-24 14:05:47 +11:00