diff options
author | Balbir Singh <balbir@linux.vnet.ibm.com> | 2008-02-01 05:57:31 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-02-07 01:40:19 +0100 |
commit | 1daa6d08d1257aa61f376c3cc4795660877fb9e3 (patch) | |
tree | b53407c6dd9b3b310bdc203681ba528460612e0d /arch/powerpc/Makefile | |
parent | [POWERPC] Fix compilation for CONFIG_DEBUGGER=n and CONFIG_KEXEC=y (diff) | |
download | linux-1daa6d08d1257aa61f376c3cc4795660877fb9e3.tar.xz linux-1daa6d08d1257aa61f376c3cc4795660877fb9e3.zip |
[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 the
patch useful for fake NUMA emulation on my simple PowerPC machine.
I've tested it on a numa box with the following arguments
numa=fake=512M
numa=fake=512M,768M
numa=fake=256M,512M mem=512M
numa=fake=1G mem=768M
numa=fake=
without any numa= argument
The other side-effect introduced by this patch is that; in the case
where we don't have NUMA information, we now set a node online after
adding each LMB. This node could very well be node 0, but in the case
that we enable fake NUMA nodes, when we cross node boundaries, we need
to set the new node online.
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Makefile')
0 files changed, 0 insertions, 0 deletions