Skip to content

Commit

Permalink
arch/sparc: increase CONFIG_NODES_SHIFT on SPARC64 to 5
Browse files Browse the repository at this point in the history
SPARC M6-32 platform has (2^5) NUMA nodes, so need to bump up the
CONFIG_NODES_SHIFT to 5.

Orabug: 25577754

Signed-off-by: Jane Chu <jane.chu@oracle.com>
Reviewed-by: Bob Picco <bob.picco@oracle.com>
Reviewed-by: Atish Patra <atish.patra@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jane Chu authored and David S. Miller committed May 26, 2017
1 parent be941bf commit 7485af8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions arch/sparc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,13 @@ config NUMA
depends on SPARC64 && SMP

config NODES_SHIFT
int
default "4"
int "Maximum NUMA Nodes (as a power of 2)"
range 4 5 if SPARC64
default "5"
depends on NEED_MULTIPLE_NODES
help
Specify the maximum number of NUMA Nodes available on the target
system. Increases memory reserved to accommodate various tables.

# Some NUMA nodes have memory ranges that span
# other nodes. Even though a pfn is valid and
Expand Down

0 comments on commit 7485af8

Please sign in to comment.