[PATCH 2/2] arm64/numa: Add NUMA emulation for ARM64
Tvrtko Ursulin
tursulin at igalia.com
Tue Jun 25 05:58:03 PDT 2024
From: Maíra Canal <mcanal at igalia.com>
Allow selecting NUMA emulation on arm64.
Signed-off-by: Maíra Canal <mcanal at igalia.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at igalia.com>
Cc: Catalin Marinas <catalin.marinas at arm.com>
Cc: Will Deacon <will at kernel.org>
Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Cc: “Rafael J. Wysocki" <rafael at kernel.org>
---
arch/arm64/Kconfig | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 8e80df015bdd..49c1cdc545d3 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -1507,6 +1507,16 @@ config NODES_SHIFT
Specify the maximum number of NUMA Nodes available on the target
system. Increases memory reserved to accommodate various tables.
+config NUMA_EMULATION
+ bool "NUMA emulation"
+ depends on NUMA
+ select GENERIC_ARCH_NUMA_EMULATION
+ help
+ Enable NUMA emulation support. A flat machine will be split into
+ virtual nodes when booted with "numa=fake=N", where N is the number
+ of nodes, the system RAM will be split into N equal chunks, and
+ assigned to each node.
+
source "kernel/Kconfig.hz"
config ARCH_SPARSEMEM_ENABLE
--
2.44.0
More information about the linux-arm-kernel
mailing list