[PATCH] ppc64: Convert NUMA to sparsemem (3)
Convert to sparsemem and remove all the discontigmem code in the process. This has a few advantages: - The old numa_memory_lookup_table can go away - All the arch specific discontigmem magic can go away We also remove the triple pass of memory properties and instead create a list of per node extents that we iterate through. A final cleanup would be to change our lmb code to store extents per node, then we can reuse that information in the numa code. Signed-off-by:Anton Blanchard <anton@samba.org> Signed-off-by:
Paul Mackerras <paulus@samba.org>
Showing
- arch/powerpc/Kconfig 3 additions, 8 deletionsarch/powerpc/Kconfig
- arch/powerpc/mm/numa.c 159 additions, 206 deletionsarch/powerpc/mm/numa.c
- arch/ppc64/Kconfig 3 additions, 8 deletionsarch/ppc64/Kconfig
- include/asm-powerpc/topology.h 1 addition, 9 deletionsinclude/asm-powerpc/topology.h
- include/asm-ppc64/mmzone.h 3 additions, 60 deletionsinclude/asm-ppc64/mmzone.h
- include/asm-ppc64/page.h 0 additions, 5 deletionsinclude/asm-ppc64/page.h
Loading
Please register or sign in to comment