lkml.org 
[lkml]   [2021]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/1] arm64: make section size configurable for memory hotplug
From
Date
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

\
 
 \ /
  Last update: 2021-01-06 03:23    [W:0.117 / U:2.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site