• Balbir Singh's avatar
    [POWERPC] Fake NUMA emulation for PowerPC · 5c3f5892
    Balbir Singh authored
    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: default avatarBalbir Singh <balbir@linux.vnet.ibm.com>
    Acked-by: default avatarOlof Johansson <olof@lixom.net>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    5c3f5892
numa.c 19.7 KB