Skip to content

Commit

Permalink
[PATCH] ppc64: Convert NUMA to sparsemem (3)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Blanchard authored and Paul Mackerras committed Nov 11, 2005
1 parent 3e66c4d commit 45fb6ce
Show file tree
Hide file tree
Showing 6 changed files with 169 additions and 296 deletions.
11 changes: 3 additions & 8 deletions arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -581,17 +581,12 @@ config ARCH_FLATMEM_ENABLE
def_bool y
depends on PPC64 && !NUMA

config ARCH_DISCONTIGMEM_ENABLE
def_bool y
depends on SMP && PPC_PSERIES

config ARCH_DISCONTIGMEM_DEFAULT
config ARCH_SPARSEMEM_ENABLE
def_bool y
depends on ARCH_DISCONTIGMEM_ENABLE

config ARCH_SPARSEMEM_ENABLE
config ARCH_SPARSEMEM_DEFAULT
def_bool y
depends on ARCH_DISCONTIGMEM_ENABLE
depends on SMP && PPC_PSERIES

source "mm/Kconfig"

Expand Down
Loading

0 comments on commit 45fb6ce

Please sign in to comment.