Re: [PATCH 1/1] arm64: make section size configurable for memory hotplug
From: Randy Dunlap <hidden>
Date: 2021-01-06 02:21:58
Also in:
lkml
From: Randy Dunlap <hidden>
Date: 2021-01-06 02:21:58
Also in:
lkml
On 1/5/21 5:28 PM, Sudarshan Rajagopalan wrote:
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 6d232837cbee..34124eee65da 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig@@ -294,6 +294,17 @@ config ARCH_ENABLE_MEMORY_HOTREMOVE config SMP def_bool y +config HOTPLUG_SIZE_BITS + int "Memory hotplug block size(29 => 512MB 30 => 1GB)"
block size (29 => 512MB, 30 => 1GB)"
+ depends on SPARSEMEM + depends on MEMORY_HOTPLUG + range 28 30 + default 30 + help + Selects granularity of hotplug memory. Block size for + memory hotplug is represent as a power of 2.
represented
+ If unsure, stick with default value.
and all of the help text should be indented with 1 tab + 2 spaces. thanks. -- ~Randy