[RFC PATCH 01/18] mm: arm64 add Kconfig option for kernel replication
From: Nikita Panov
Date: Thu Aug 27 2026 - 12:26:30 EST
Acked-by: Artem Kuzin <artem.kuzin@xxxxxxxxxx>
Acked-by: Alexander Grubnikov <alexander.grubnikov@xxxxxxxxxx>
Acked-by: Ilya Hanov <ilya.hanov@xxxxxxxxxxxxxxxxxxx>
Acked-by: Denis Darvish <darvish.denis@xxxxxxxxxx>
Signed-off-by: Nikita Panov <panov.nikita@xxxxxxxxxx>
---
mm/Kconfig | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/mm/Kconfig b/mm/Kconfig
index 604c58199acb..1302268b72b6 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -1446,6 +1446,16 @@ config LOCK_MM_AND_FIND_VMA
bool
depends on !STACK_GROWSUP
+config KERNEL_REPLICATION
+ bool "Enable kernel text and ro-data replication across NUMA nodes"
+ default n
+ depends on ARM64 && MMU && NUMA && !MAXSMP
+
+ help
+ Creates per-NUMA node replicas of kernel text and ro-data sections.
+ Page tables are replicated partially, according to replicated kernel memory range.
+ If unsure, say "n".
+
config IOMMU_MM_DATA
bool
--
2.34.1