]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Fake NUMA emulation for PowerPC
authorBalbir Singh <balbir@linux.vnet.ibm.com>
Fri, 7 Dec 2007 22:37:14 +0000 (09:37 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 20 Dec 2007 05:11:46 +0000 (16:11 +1100)
commit5c3f5892a2db6757a72ce8b27cba90db06683e1d
tree891a9bd7cf09517cd291e4530748ab3ba8aee90c
parent800d68c3aa0dc3e31a87f1499d63359caa77441c
[POWERPC] Fake NUMA emulation for PowerPC

Here's a dumb simple implementation of fake NUMA nodes for PowerPC.
Fake NUMA nodes can be specified using the following command line option

numa=fake=<node range>

node range is of the format <range1>,<range2>,...<rangeN>

Each of the rangeX parameters is passed using memparse().  I find this
useful for fake NUMA emulation on my simple PowerPC machine.  I've
tested it on a non-numa box with the following arguments:

numa=fake=1G
numa=fake=1G,2G
name=fake=1G,512M,2G
numa=fake=1500M,2800M mem=3500M
numa=fake=1G mem=512M
numa=fake=1G mem=1G

Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/numa.c