Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1650783 > unrolled thread

[PATCH] arch/sparc: increase CONFIG_NODES_SHIFT on SPARC64 to 5

Started byJane Chu <jane.chu@oracle.com>
First post2017-05-25 22:00 +0200
Last post2017-05-26 21:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] arch/sparc: increase CONFIG_NODES_SHIFT on SPARC64 to 5 Jane Chu <jane.chu@oracle.com> - 2017-05-25 22:00 +0200
    Re: [PATCH] arch/sparc: increase CONFIG_NODES_SHIFT on SPARC64 to 5 David Miller <davem@davemloft.net> - 2017-05-26 21:00 +0200

#1650783 — [PATCH] arch/sparc: increase CONFIG_NODES_SHIFT on SPARC64 to 5

FromJane Chu <jane.chu@oracle.com>
Date2017-05-25 22:00 +0200
Subject[PATCH] arch/sparc: increase CONFIG_NODES_SHIFT on SPARC64 to 5
Message-ID<tL75n-40J-5@gated-at.bofh.it>
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>
---
 arch/sparc/Kconfig |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 58243b0..e544ac1 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -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
-- 
1.7.1

[toc] | [next] | [standalone]


#1651560

FromDavid Miller <davem@davemloft.net>
Date2017-05-26 21:00 +0200
Message-ID<tLsCR-14k-3@gated-at.bofh.it>
In reply to#1650783
From: Jane Chu <jane.chu@oracle.com>
Date: Thu, 25 May 2017 13:51:20 -0600

> 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>

This looks fine, applied, thanks.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web