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


Groups > linux.kernel > #1460367

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

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Catalin Marinas <catalin.marinas@arm.com>
Newsgroups linux.kernel
Subject Re: arm64: why set SECTION_SIZE_BITS to 1G size?
Date Thu, 11 Aug 2016 12:10:03 +0200
Message-ID <s4V63-2qB-59@gated-at.bofh.it> (permalink)
References <s4UMG-24i-25@gated-at.bofh.it>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 20
Organization linux.* mail to news gateway
X-Original-Cc Will Deacon <will.deacon@arm.com>, Linux MM <linux-mm@kvack.org>, LKML <linux-kernel@vger.kernel.org>, chenjie6@huawei.com
X-Original-Date Thu, 11 Aug 2016 11:07:32 +0100
X-Original-Message-ID <20160811100732.GA18366@e104818-lin.cambridge.arm.com>
X-Original-References <57AC490E.4080204@huawei.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1460367

Show key headers only | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web