Thread (11 messages) 11 messages, 4 authors, 2021-01-11

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

On 1/5/21 5:28 PM, Sudarshan Rajagopalan wrote:
quoted hunk ↗ jump to hunk
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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help