linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arm64: Kconfig: support for nodes spanning other nodes
       [not found] <CGME20201029060015epcas2p2c9969a6782d8214bcbefa36ffad8e10c@epcas2p2.samsung.com>
@ 2020-10-29  6:19 ` Janghyuck Kim
  2020-11-26 15:31   ` Catalin Marinas
  0 siblings, 1 reply; 2+ messages in thread
From: Janghyuck Kim @ 2020-10-29  6:19 UTC (permalink / raw)
  Cc: janghyuck.kim, hyesoo.yu, pullip.cho, Catalin Marinas,
	Will Deacon, linux-arm-kernel, linux-kernel

To support NUMA systems whose physical address layout is not continuous
on one node, nodes spanning other nodes feature is required.

Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
---
 arch/arm64/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 49b8d017cba6..18ff7ce9dd60 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -1004,6 +1004,14 @@ config NEED_PER_CPU_EMBED_FIRST_CHUNK
 config HOLES_IN_ZONE
 	def_bool y
 
+# Some NUMA nodes have memory ranges that span
+# other nodes.  Even though a pfn is valid and
+# between a node's start and end pfns, it may not
+# reside on that node.  See memmap_init_zone()
+# for details.
+config NODES_SPAN_OTHER_NODES
+	depends on NUMA
+
 source "kernel/Kconfig.hz"
 
 config ARCH_SUPPORTS_DEBUG_PAGEALLOC
-- 
2.28.0


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

* Re: arm64: Kconfig: support for nodes spanning other nodes
  2020-10-29  6:19 ` arm64: Kconfig: support for nodes spanning other nodes Janghyuck Kim
@ 2020-11-26 15:31   ` Catalin Marinas
  0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2020-11-26 15:31 UTC (permalink / raw)
  To: Janghyuck Kim
  Cc: hyesoo.yu, pullip.cho, Will Deacon, linux-arm-kernel, linux-kernel

On Thu, Oct 29, 2020 at 03:19:50PM +0900, Janghyuck Kim wrote:
> To support NUMA systems whose physical address layout is not continuous
> on one node, nodes spanning other nodes feature is required.
> 
> Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
> ---
>  arch/arm64/Kconfig | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
> index 49b8d017cba6..18ff7ce9dd60 100644
> --- a/arch/arm64/Kconfig
> +++ b/arch/arm64/Kconfig
> @@ -1004,6 +1004,14 @@ config NEED_PER_CPU_EMBED_FIRST_CHUNK
>  config HOLES_IN_ZONE
>  	def_bool y
>  
> +# Some NUMA nodes have memory ranges that span
> +# other nodes.  Even though a pfn is valid and
> +# between a node's start and end pfns, it may not
> +# reside on that node.  See memmap_init_zone()
> +# for details.
> +config NODES_SPAN_OTHER_NODES
> +	depends on NUMA

I guess this patch no longer makes sense after commit acd3f5c441e9 ("mm:
remove early_pfn_in_nid() and CONFIG_NODES_SPAN_OTHER_NODES").

-- 
Catalin

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

end of thread, other threads:[~2020-11-26 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20201029060015epcas2p2c9969a6782d8214bcbefa36ffad8e10c@epcas2p2.samsung.com>
2020-10-29  6:19 ` arm64: Kconfig: support for nodes spanning other nodes Janghyuck Kim
2020-11-26 15:31   ` Catalin Marinas

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