linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] arm64: NUMA: Kconfig: Increase NODES_SHIFT to 4
@ 2020-10-30 17:30 Vanshidhar Konda
  2020-11-03 14:54 ` Will Deacon
  0 siblings, 1 reply; 2+ messages in thread
From: Vanshidhar Konda @ 2020-10-30 17:30 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: patches, linux-kernel, Anshuman.Khandual, Valentin.Schneider,
	catalin.marinas, will, Vanshidhar Konda

The current arm64 default config limits max NUMA nodes available on
system to 4 (NODES_SHIFT = 2). Today's arm64 systems can reach or
exceed 16 NUMA nodes. To accomodate current hardware and to fit
NODES_SHIFT within page flags on arm64, increase NODES_SHIFT to 4.

Discussion on v1 of the patch:
https://lore.kernel.org/linux-arm-kernel/20201020173409.1266576-1-vanshikonda@os.amperecomputing.com/

-v2: Updated commit message based on discussion
-v3: Updated link to v1 discussion

Signed-off-by: Vanshidhar Konda <vanshikonda@os.amperecomputing.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
---
 arch/arm64/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index f858c352f72a..cffcc677011f 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -982,7 +982,7 @@ config NUMA
 config NODES_SHIFT
 	int "Maximum NUMA Nodes (as a power of 2)"
 	range 1 10
-	default "2"
+	default "4"
 	depends on NEED_MULTIPLE_NODES
 	help
 	  Specify the maximum number of NUMA Nodes available on the target
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v3] arm64: NUMA: Kconfig: Increase NODES_SHIFT to 4
  2020-10-30 17:30 [PATCH v3] arm64: NUMA: Kconfig: Increase NODES_SHIFT to 4 Vanshidhar Konda
@ 2020-11-03 14:54 ` Will Deacon
  0 siblings, 0 replies; 2+ messages in thread
From: Will Deacon @ 2020-11-03 14:54 UTC (permalink / raw)
  To: linux-arm-kernel, Vanshidhar Konda
  Cc: catalin.marinas, kernel-team, Will Deacon, linux-kernel,
	Valentin.Schneider, Anshuman.Khandual, patches

On Fri, 30 Oct 2020 10:30:50 -0700, Vanshidhar Konda wrote:
> The current arm64 default config limits max NUMA nodes available on
> system to 4 (NODES_SHIFT = 2). Today's arm64 systems can reach or
> exceed 16 NUMA nodes. To accomodate current hardware and to fit
> NODES_SHIFT within page flags on arm64, increase NODES_SHIFT to 4.
> 
> Discussion on v1 of the patch:
> https://lore.kernel.org/linux-arm-kernel/20201020173409.1266576-1-vanshikonda@os.amperecomputing.com/
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: NUMA: Kconfig: Increase NODES_SHIFT to 4
      https://git.kernel.org/arm64/c/2a13c13b39a8

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-03 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-30 17:30 [PATCH v3] arm64: NUMA: Kconfig: Increase NODES_SHIFT to 4 Vanshidhar Konda
2020-11-03 14:54 ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).