From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx110.postini.com [74.125.245.110]) by kanga.kvack.org (Postfix) with SMTP id E85126B0033 for ; Tue, 13 Aug 2013 18:33:46 -0400 (EDT) Received: by mail-ob0-f176.google.com with SMTP id uz19so10859435obc.35 for ; Tue, 13 Aug 2013 15:33:46 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <520A02DE.1010908@cn.fujitsu.com> References: <1375956979-31877-1-git-send-email-tangchen@cn.fujitsu.com> <20130812145016.GI15892@htj.dyndns.org> <5208FBBC.2080304@zytor.com> <20130812152343.GK15892@htj.dyndns.org> <52090D7F.6060600@gmail.com> <20130812164650.GN15892@htj.dyndns.org> <5209CEC1.8070908@cn.fujitsu.com> <520A02DE.1010908@cn.fujitsu.com> Date: Tue, 13 Aug 2013 15:33:45 -0700 Message-ID: Subject: Re: [PATCH part5 0/7] Arrange hotpluggable memory as ZONE_MOVABLE. From: Yinghai Lu Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Tang Chen Cc: Tejun Heo , Tang Chen , "H. Peter Anvin" , Bob Moore , Lv Zheng , "Rafael J. Wysocki" , Len Brown , Thomas Gleixner , Ingo Molnar , Andrew Morton , Thomas Renninger , Jiang Liu , Wen Congyang , Lai Jiangshan , Yasuaki Ishimatsu , Taku Izumi , Mel Gorman , Minchan Kim , "mina86@mina86.com" , "gong.chen@linux.intel.com" , Vasilis Liaskovitis , "lwoodman@redhat.com" , Rik van Riel , "jweiner@redhat.com" , Prarit Bhargava , Zhang Yanfei , "yanghy@cn.fujitsu.com" , the arch/x86 maintainers , "linux-doc@vger.kernel.org" , Linux Kernel Mailing List , Linux MM , ACPI Devel Maling List , "Luck, Tony (tony.luck@intel.com)" On Tue, Aug 13, 2013 at 2:56 AM, Tang Chen wrote: > 2. There are several places calling memblock_find_in_range_node() to > allocate memory before SRAT parsed. > > early_reserve_e820_mpc_new() this one is under 1M. > reserve_real_mode() this one is under 1M > init_mem_mapping() Now we top and down, so initial page tables in in BRK, other page tables is near the top! > setup_log_buf() user could specify 4M or more. > relocate_initrd() size could be very big, like several hundreds mega bytes. should be anywhere, but will be freed after booting. ===> so we should not limit it to near kernel range. > acpi_initrd_override() should be 64 * 10 about 1M. > reserve_crashkernel() could be under 4G, or above 4G. size could be 512M or 8G whatever. looks like should move down relocated_initrd and reserve_crashkernel. Yinghai -- 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