Skip to content

powerpc: support memoryless nodes

Nishanth Aravamudan linux-mm linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm: return NUMA_NO_NODE in local_memory_node if zonelists are not setupmm/page_alloc.c+2 -07 replies
2/3powerpc: enable CONFIG_HAVE_PERCPU_NUMA_NODE_IDarch/powerpc/include/asm/mmzone.h arch/powerpc/include/asm/topology.h arch/powerpc/kernel/smp.c +1 more+18 -281 reply
3/3powerpc: enable CONFIG_HAVE_MEMORYLESS_NODESarch/powerpc/Kconfig+3 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchChristoph Lameter
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] powerpc: support memoryless nodes

We have seen several issues recently on powerpc LPARs with memoryless node NUMA configurations, e.g. (an extreme case):

numactl --hardware
available: 2 nodes (0,3)
node 0 cpus:
node 0 size: 0 MB
node 0 free: 0 MB
node 3 cpus: 0 1 2 3
node 3 size: 8142 MB
node 3 free: 7765 MB
node distances:
node 0 3

  0:  10  20 
  3:  20  10 

powerpc doesn't set CONFIG_HAVE_MEMORYLESS_NODES, so we are missing out on a lot of the core-kernel support necessary. This series attempts to fix this by enabling the config option, which requires a few other changes as well.

1/3: mm: return NUMA_NO_NODE in local_memory_node if zonelists are not setup
2/3: powerpc: enable CONFIG_HAVE_PERCPU_NUMA_NODE_ID
3/3: powerpc: enable CONFIG_HAVE_MEMORYLESS_NODES

I have tested this series with Christoph's patch (currently being discussed): http://www.spinics.net/lists/linux-mm/msg69452.html

Thanks,
Nish

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>