From: Tejun Heo Subject: Re: [PATCH v5 4/6] x86/mem-hotplug: Support initialize page tables in bottom-up Date: Thu, 26 Sep 2013 11:48:13 -0400 Message-ID: <20130926154813.GA32391@mtj.dyndns.org> References: <5241D897.1090905@gmail.com> <5241DA5B.8000909@gmail.com> <20130926144851.GF3482@htj.dyndns.org> <52445606.7030108@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-qc0-f169.google.com ([209.85.216.169]:43834 "EHLO mail-qc0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750978Ab3IZPsS (ORCPT ); Thu, 26 Sep 2013 11:48:18 -0400 Content-Disposition: inline In-Reply-To: <52445606.7030108@gmail.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Zhang Yanfei Cc: "Rafael J . Wysocki" , lenb@kernel.org, Thomas Gleixner , mingo@elte.hu, "H. Peter Anvin" , Andrew Morton , 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 On Thu, Sep 26, 2013 at 11:43:02PM +0800, Zhang Yanfei wrote: > > As Yinghai pointed out in another thread, do we need to worry about > > falling back to top-down? > > I've explained to him. Nop, we don't need to worry about that. Because even > the min_pfn_mapped becomes ISA_END_ADDRESS in the second call below, we won't > allocate memory below the kernel because we have limited the allocation above > the kernel. Maybe I misunderstood but wasn't he worrying about there not being enough space above kernel? In that case, it'd automatically fall back to top-down allocation anyway, right? Thanks. -- tejun