Re: arm64: why set SECTION_SIZE_BITS to 1G size?

From: Catalin Marinas
Date: Thu Aug 11 2016 - 06:08:13 EST


On Thu, Aug 11, 2016 at 05:44:46PM +0800, Xishi Qiu wrote:
> arm64:
> SECTION_SIZE_BITS 30 -----1G
>
> The memory hotplug(add_memory -->check_hotplug_memory_range)
> must be aligned with section.So I can not add mem with 64M ...
> Can I modify the SECTION_SIZE_BITS to 26?

There was a patch to reduce this to 27:

http://lkml.kernel.org/g/1465821119-3384-1-git-send-email-jszhang@xxxxxxxxxxx

Also some discussions in this thread on a different patch:

http://lkml.iu.edu/hypermail/linux/kernel/1604.1/03036.html

Does your system really have such small alignment memory blocks?

--
Catalin