On 2015/6/9 14:44, Kamezawa Hiroyuki wrote:
On 2015/06/04 21:56, Xishi Qiu wrote:
This patch introduces a new config called "CONFIG_ACPI_MIRROR_MEMORY", it is
used to on/off the feature.
Signed-off-by: Xishi Qiu <qiuxishi@xxxxxxxxxx>
---
mm/Kconfig | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/mm/Kconfig b/mm/Kconfig
index 390214d..4f2a726 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -200,6 +200,14 @@ config MEMORY_HOTREMOVE
depends on MEMORY_HOTPLUG && ARCH_ENABLE_MEMORY_HOTREMOVE
depends on MIGRATION
+config MEMORY_MIRROR
+ bool "Address range mirroring support"
+ depends on X86 && NUMA
+ default y
+ help
+ This feature depends on hardware and firmware support.
+ ACPI or EFI records the mirror info.
default y...no runtime influence when the user doesn't use memory mirror ?
It is a new feature, so how about like this: default y -> n?