From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f47.google.com (mail-pb0-f47.google.com [209.85.160.47]) by kanga.kvack.org (Postfix) with ESMTP id 084646B0031 for ; Wed, 9 Oct 2013 17:23:24 -0400 (EDT) Received: by mail-pb0-f47.google.com with SMTP id rr4so1517011pbb.6 for ; Wed, 09 Oct 2013 14:23:24 -0700 (PDT) Message-ID: <5255C91B.7030608@zytor.com> Date: Wed, 09 Oct 2013 14:22:35 -0700 From: "H. Peter Anvin" MIME-Version: 1.0 Subject: Re: [PATCH part1 v6 4/6] x86/mem-hotplug: Support initialize page tables in bottom-up References: <524E2032.4020106@gmail.com> <524E2127.4090904@gmail.com> <5251F9AB.6000203@zytor.com> <525442A4.9060709@gmail.com> <20131009164449.GG22495@htj.dyndns.org> <52558EEF.4050009@gmail.com> <20131009192040.GA5592@mtj.dyndns.org> <5255C87F.8070701@gmail.com> In-Reply-To: <5255C87F.8070701@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Zhang Yanfei Cc: Tejun Heo , Andrew Morton , "Rafael J . Wysocki" , lenb@kernel.org, Thomas Gleixner , mingo@elte.hu, Toshi Kani , Wanpeng Li , Thomas Renninger , Yinghai Lu , Jiang Liu , Wen Congyang , Lai Jiangshan , isimatu.yasuaki@jp.fujitsu.com, izumi.taku@jp.fujitsu.com, Mel Gorman , Minchan Kim , mina86@mina86.com, gong.chen@linux.intel.com, vasilis.liaskovitis@profitbricks.com, lwoodman@redhat.com, Rik van Riel , jweiner@redhat.com, prarit@redhat.com, "x86@kernel.org" , linux-doc@vger.kernel.org, "linux-kernel@vger.kernel.org" , Linux MM , linux-acpi@vger.kernel.org, imtangchen@gmail.com, Zhang Yanfei , Tang Chen On 10/09/2013 02:19 PM, Zhang Yanfei wrote: >> >> Yeah, I was referring to the 16MB limit, which apparently ceased to >> exist. > > Hmmmm...If we are talking 16MB limit hear, I don't think it a problem, either. > Currently, default loading & running address of kernel is 16MB, so the > kernel itself is above 16MB, memory allocated in bottom-up mode is obviously > above the 16MB. Just seeing from a RHEL6.3 server: > > 01000000-01507ff4 : Kernel code > 01507ff5-01c07b2f : Kernel data > 01d4e000-02012023 : Kernel bss > > IOW, even if kernel is loaded and running at 1MB, it self will occupy about > 16MB from the above. > For various DMA devices you can find almost every possible power of 2 being a limitation. The most common limits are 24, 32, and 40 bits, but you also see odd ones like 30 bits in the field. Really. -hpa -- 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