arm64: Kconfig: Enable NODES_SPAN_OTHER_NODES config for NUMA
PATCH 1/1 arm64: Kconfig: Enable NODES_SPAN_OTHER_NODES config for NUMA
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.
This patch enables NODES_SPAN_OTHER_NODES config for NUMA to support this type of NUMA layout.
--- arch/arm64/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm64/Kconfig +7 -0
@@ -959,6 +959,13 @@ 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. +config NODES_SPAN_OTHER_NODES + def_bool y + depends on ACPI_NUMA + source "kernel/Kconfig.hz" config ARCH_SUPPORTS_DEBUG_PAGEALLOC
Signature · 1 line
1.8.3.1
Will Deacon
maintainerQuoted 17 lines · Hoan Tran
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.
This patch enables
NODES_SPAN_OTHER_NODESconfig for NUMA to support this type of NUMA layout.Signed-off-by Hoan Tran <[email protected]>--- arch/arm64/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm64/Kconfig +0
-0
arch/arm64/Kconfig config NEED_PER_CPU_EMBED_FIRST_CHUNK · line 968
Quoted 10 lines
arch/arm64/Kconfig +7
-0@@ -959,6 +959,13 @@ 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. +config NODES_SPAN_OTHER_NODES + def_bool y + depends on ACPI_NUMA +
I thought we agreed to do this in the core code?
https://lore.kernel.org/lkml/[email protected]
Will
Hi Will,
Quoted 31 lines · Will Deacon
Quoted 17 lines · Hoan Tran
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.
This patch enables
NODES_SPAN_OTHER_NODESconfig for NUMA to support this type of NUMA layout.Signed-off-by Hoan Tran <[email protected]>--- arch/arm64/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm64/Kconfig +0
-0arch/arm64/Kconfig config NEED_PER_CPU_EMBED_FIRST_CHUNK · line 968
Quoted 10 lines
arch/arm64/Kconfig +7
-0@@ -959,6 +959,13 @@ 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. +config NODES_SPAN_OTHER_NODES + def_bool y + depends on ACPI_NUMA +I thought we agreed to do this in the core code?
Quoted 1 line
Yes, but it looks like Thomas didn't agree to apply this patch into x86.
https://lore.kernel.org/lkml/[email protected]/
Regards
Hoan
Quoted 3 lines
Will
Hi Will,
Do you have any comments?
Thanks
Hoan
Quoted 47 lines · Hoan Tran
Hi Will,
Quoted 30 lines · Will Deacon
Quoted 19 lines · Hoan Tran
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.
This patch enables
NODES_SPAN_OTHER_NODESconfig for NUMA to support this type of NUMA layout.Signed-off-by Hoan Tran <[email protected]>---
arch/arm64/Kconfig| 7 +++++++1 file changed, 7 insertions(+)arch/arm64/Kconfig +0
-0@@ -959,6 +959,13 @@ config NEED_PER_CPU_EMBED_FIRST_CHUNKconfig
HOLES_IN_ZONE
def_boolyarch/arm64/Kconfig config NEED_PER_CPU_EMBED_FIRST_CHUNK · line 968
Quoted 7 lines
arch/arm64/Kconfig +7
-0+# 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. +config NODES_SPAN_OTHER_NODES + def_bool y + depends on ACPI_NUMA +I thought we agreed to do this in the core code?
Quoted 2 lines
Yes, but it looks like Thomas didn't agree to apply this patch into x86.
https://lore.kernel.org/lkml/[email protected]/
Regards
HoanQuoted 3 lines
Will
Hi Will and All,
Any chance you have time to take a look.
Thanks and regards
Hoan
Quoted 55 lines · Hoan Tran
Hi Will,
Do you have any comments?
Thanks
HoanQuoted 47 lines · Hoan Tran
Hi Will,
Quoted 30 lines · Will Deacon
Quoted 19 lines · Hoan Tran
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.
This patch enables
NODES_SPAN_OTHER_NODESconfig for NUMA to support this type of NUMA layout.Signed-off-by Hoan Tran <[email protected]>---
arch/arm64/Kconfig| 7 +++++++1 file changed, 7 insertions(+)arch/arm64/Kconfig +0
-0@@ -959,6 +959,13 @@ config NEED_PER_CPU_EMBED_FIRST_CHUNKconfig
HOLES_IN_ZONE
def_boolyarch/arm64/Kconfig config NEED_PER_CPU_EMBED_FIRST_CHUNK · line 968
Quoted 7 lines
arch/arm64/Kconfig +7
-0+# 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. +config NODES_SPAN_OTHER_NODES + def_bool y + depends on ACPI_NUMA +I thought we agreed to do this in the core code?
Quoted 2 lines
Yes, but it looks like Thomas didn't agree to apply this patch into x86.
https://lore.kernel.org/lkml/[email protected]/
Regards
HoanQuoted 3 lines
Will
Catalin Marinas
maintainerQuoted 33 lines · Hoan Tran
Hi Will,
Quoted 30 lines · Will Deacon
Quoted 17 lines · Hoan Tran
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.
This patch enables
NODES_SPAN_OTHER_NODESconfig for NUMA to support this type of NUMA layout.Signed-off-by Hoan Tran <[email protected]>--- arch/arm64/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm64/Kconfig +0
-0arch/arm64/Kconfig config NEED_PER_CPU_EMBED_FIRST_CHUNK · line 967
Quoted 9 lines
arch/arm64/Kconfig +7
-0@@ -959,6 +959,13 @@ 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. +config NODES_SPAN_OTHER_NODES + def_bool y + depends on ACPI_NUMA +I thought we agreed to do this in the core code?
Quoted 6 lines
Quoted 1 line
Yes, but it looks like Thomas didn't agree to apply this patch into x86.
Was it a clear statement that such change will not make it to x86 or a request for improving the patch or the description? I'd suggest you update the x86 patch comment to include the rationale as per your reply to Thomas and post a new version of the generic series. If Thomas (or the mm folk) reject it again, we'll revisit the arm64-specific thread.
Signature · 1 line
Catalin
Hi Catalin,
Quoted 39 lines · Catalin Marinas
Quoted 38 lines · Hoan Tran
Hi Will,
Quoted 30 lines · Will Deacon
Quoted 17 lines · Hoan Tran
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.
This patch enables
NODES_SPAN_OTHER_NODESconfig for NUMA to support this type of NUMA layout.Signed-off-by Hoan Tran <[email protected]>--- arch/arm64/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm64/Kconfig +0
-0arch/arm64/Kconfig config NEED_PER_CPU_EMBED_FIRST_CHUNK · line 967
Quoted 9 lines
arch/arm64/Kconfig +7
-0@@ -959,6 +959,13 @@ 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. +config NODES_SPAN_OTHER_NODES + def_bool y + depends on ACPI_NUMA +I thought we agreed to do this in the core code?
Quoted 1 line
Yes, but it looks like Thomas didn't agree to apply this patch into x86.
Quoted 7 lines
Quoted 1 line
Was it a clear statement that such change will not make it to x86 or a request for improving the patch or the description? I'd suggest you update the x86 patch comment to include the rationale as per your reply to Thomas and post a new version of the generic series. If Thomas (or the mm folk) reject it again, we'll revisit the arm64-specific thread.
Yes, I have just sent out a new patch for mm core.
Regards
Hoan
Quoted 1 line
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel