[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1c4613bc-56e9-de99-e9de-4313b4aa88a2@infradead.org>
Date: Tue, 5 Jan 2021 18:20:40 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: Sudarshan Rajagopalan <sudaraja@...eaurora.org>,
akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] arm64: make section size configurable for memory
hotplug
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
Powered by blists - more mailing lists