Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756695AbYFIQjx (ORCPT ); Mon, 9 Jun 2008 12:39:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751020AbYFIQjo (ORCPT ); Mon, 9 Jun 2008 12:39:44 -0400 Received: from one.firstfloor.org ([213.235.205.2]:46136 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750928AbYFIQjo (ORCPT ); Mon, 9 Jun 2008 12:39:44 -0400 Message-ID: <484D5CCB.5020709@firstfloor.org> Date: Mon, 09 Jun 2008 18:39:39 +0200 From: Andi Kleen User-Agent: Thunderbird 1.5.0.12 (X11/20060911) MIME-Version: 1.0 To: Bernhard Walle CC: Vivek Goyal , Johannes Weiner , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, hpa@zytor.com, anderson@redhat.com, Amul Shah Subject: Re: [patch 2/3] Add flags parameter to reserve_bootmem_generic() References: <20080608134628.757299158@halley.suse.de> <20080608134629.743220278@halley.suse.de> <87bq2bmvro.fsf@saeurebad.de> <20080609132207.GC3542@redhat.com> <20080609182341.00d6e746@halley.suse.de> In-Reply-To: <20080609182341.00d6e746@halley.suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 985 Lines: 25 Bernhard Walle wrote: > * Vivek Goyal [2008-06-09 09:22]: >> Kdump first kernel always tries to reserve just physical RAM and nothing >> else. So I am not sure what does above code do. Try to reserve a memory >> which is not RAM but is in the region less than highest mapped entity and >> in that case return silently without any warning. In what case do we >> exercise this path? > > I don't know. That code has been introduced in > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=5e58a02a8f6a7a1c9ae41f39286bcd3aea0d6f24 > > Ccing Andi. > > IMO we should not print any warning in that function, leaving the error > handling to the caller. Don't remember the details. Perhaps Amul does (cc'ed) -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/