android_kernel_xiaomi_sm8350/arch/powerpc/mm
Balbir Singh 5c3f5892a2 [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>
2007-12-20 16:11:46 +11:00
..
40x_mmu.c [POWERPC] ppc405 Fix arithmatic rollover bug when memory size under 16M 2007-11-01 07:15:59 -05:00
44x_mmu.c [POWERPC] 4xx: Deal with 44x virtually tagged icache 2007-11-01 07:15:30 -05:00
fault.c [POWERPC] Add missing spaces in printk formats 2007-12-03 13:56:27 +11:00
fsl_booke_mmu.c
hash_low_32.S
hash_low_64.S [POWERPC] powerpc: Fix demotion of segments to 4K pages 2007-10-29 14:34:14 +11:00
hash_native_64.c
hash_utils_64.c [POWERPC] Use SLB size from the device tree 2007-12-11 13:45:56 +11:00
hugetlbpage.c Slab API: remove useless ctor parameter and reorder parameters 2007-10-17 08:42:45 -07:00
init_32.c
init_64.c [POWERPC] Silence an annoying boot message 2007-11-13 16:23:47 +11:00
lmb.c
Makefile
mem.c [POWERPC] Fix 8xx build breakage due to _tlbie changes 2007-11-20 18:42:00 +11:00
mmap.c
mmu_context_32.c
mmu_context_64.c
mmu_decl.h [POWERPC] Fix 8xx build breakage due to _tlbie changes 2007-11-20 18:42:00 +11:00
numa.c [POWERPC] Fake NUMA emulation for PowerPC 2007-12-20 16:11:46 +11:00
pgtable_32.c
pgtable_64.c
ppc_mmu_32.c
slb_low.S [POWERPC] Use SLB size from the device tree 2007-12-11 13:45:56 +11:00
slb.c [POWERPC] Use SLB size from the device tree 2007-12-11 13:45:56 +11:00
slice.c spin_lock_unlocked cleanups 2007-10-17 08:43:01 -07:00
stab.c [POWERPC] Fix build failure on legacy iSeries 2007-11-20 11:37:39 +11:00
tlb_32.c
tlb_64.c [POWERPC] Fix CONFIG_SMP=n build error on ppc64 2007-11-13 16:22:44 +11:00