From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f197.google.com (mail-pf0-f197.google.com [209.85.192.197]) by kanga.kvack.org (Postfix) with ESMTP id B27E86B0005 for ; Thu, 11 Aug 2016 05:51:43 -0400 (EDT) Received: by mail-pf0-f197.google.com with SMTP id h186so126019034pfg.2 for ; Thu, 11 Aug 2016 02:51:43 -0700 (PDT) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com. [119.145.14.65]) by mx.google.com with ESMTPS id sq1si2488664pab.29.2016.08.11.02.47.26 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 11 Aug 2016 02:51:43 -0700 (PDT) Message-ID: <57AC490E.4080204@huawei.com> Date: Thu, 11 Aug 2016 17:44:46 +0800 From: Xishi Qiu MIME-Version: 1.0 Subject: arm64: why set SECTION_SIZE_BITS to 1G size? Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Catalin Marinas , Will Deacon Cc: Linux MM , LKML , chenjie6@huawei.com 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 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752614AbcHKJrX (ORCPT ); Thu, 11 Aug 2016 05:47:23 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:39412 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751148AbcHKJrU (ORCPT ); Thu, 11 Aug 2016 05:47:20 -0400 Message-ID: <57AC490E.4080204@huawei.com> Date: Thu, 11 Aug 2016 17:44:46 +0800 From: Xishi Qiu User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Catalin Marinas , Will Deacon CC: Linux MM , LKML , Subject: arm64: why set SECTION_SIZE_BITS to 1G size? Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.25.179] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090201.57AC49A5.0075,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 88781245ca902e6d8f0223d686b81e9d Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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