From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with SMTP id E9E4C8D003B for ; Fri, 22 Apr 2011 17:33:11 -0400 (EDT) Subject: Re: [PATCH v3] mm: make expand_downwards symmetrical to expand_upwards From: James Bottomley In-Reply-To: <1303411537.9048.3583.camel@nimitz> References: <1303337718.2587.51.camel@mulgrave.site> <20110421221712.9184.A69D9226@jp.fujitsu.com> <1303403847.4025.11.camel@mulgrave.site> <1303411537.9048.3583.camel@nimitz> Content-Type: text/plain; charset="UTF-8" Date: Fri, 22 Apr 2011 16:33:05 -0500 Message-ID: <1303507985.2590.47.camel@mulgrave.site> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Dave Hansen Cc: Christoph Lameter , KOSAKI Motohiro , David Rientjes , Pekka Enberg , Michal Hocko , Andrew Morton , Hugh Dickins , linux-mm@kvack.org, LKML , linux-parisc@vger.kernel.org, Ingo Molnar , x86 maintainers , Tejun Heo , Mel Gorman On Thu, 2011-04-21 at 11:45 -0700, Dave Hansen wrote: > On Thu, 2011-04-21 at 13:33 -0500, Christoph Lameter wrote: > > http://www.linux-mips.org/archives/linux-mips/2008-08/msg00154.html > > By the way, this reference is actively wrong for parisc (having just debugged the problem). The basic issue is that until we start paging, we have the kernel and some memory beyond it barely covered with the pg0 page table set up in head.S On our systems, that extends out to 16MB. SPARSEMEM is much more bootmem resource greedy than DISCONTIGMEM, so if we actually call sparse_init() before we have the page tables set up, we fall off the end of our 16MB mapping and go boom. For us, therefore, we can't call sparse_init() until we have our proper page tables in place. James -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org