Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1460343 > unrolled thread

arm64: why set SECTION_SIZE_BITS to 1G size?

Started byXishi Qiu <qiuxishi@huawei.com>
First post2016-08-11 11:50 +0200
Last post2016-08-11 12:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  arm64: why set SECTION_SIZE_BITS to 1G size? Xishi Qiu <qiuxishi@huawei.com> - 2016-08-11 11:50 +0200
    Re: arm64: why set SECTION_SIZE_BITS to 1G size? Catalin Marinas <catalin.marinas@arm.com> - 2016-08-11 12:10 +0200

#1460343 — arm64: why set SECTION_SIZE_BITS to 1G size?

FromXishi Qiu <qiuxishi@huawei.com>
Date2016-08-11 11:50 +0200
Subjectarm64: why set SECTION_SIZE_BITS to 1G size?
Message-ID<s4UMG-24i-25@gated-at.bofh.it>
Hi everyone:
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?

Thanks,
Xishi Qiu

[toc] | [next] | [standalone]


#1460367

FromCatalin Marinas <catalin.marinas@arm.com>
Date2016-08-11 12:10 +0200
Message-ID<s4V63-2qB-59@gated-at.bofh.it>
In reply to#1460343
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@marvell.com

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web