From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ns2.suse.de ([195.135.220.15] helo=mx2.suse.de) by bombadil.infradead.org with esmtps (Exim 4.68 #1 (Red Hat Linux)) id 1KB9Ab-0006wz-Up for kexec@lists.infradead.org; Tue, 24 Jun 2008 14:06:54 +0000 Date: Tue, 24 Jun 2008 16:07:29 +0200 From: Bernhard Walle Subject: Re: [PATCH 3/3] Limit E820 map when a user-defined memory map is specified Message-ID: <20080624160729.2bead69c@halley.suse.de> In-Reply-To: <86802c440806221311q5a65cdb6me24b45de5657359c@mail.gmail.com> References: <1213977420-1555-1-git-send-email-bwalle@suse.de> <1213977420-1555-4-git-send-email-bwalle@suse.de> <86802c440806201334s30cbc685se44326812841fdd2@mail.gmail.com> <20080622215635.7a0ebaae@kopernikus.site> <86802c440806221311q5a65cdb6me24b45de5657359c@mail.gmail.com> Mime-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Yinghai Lu Cc: x86@kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, vgoyal@redhat.com * Yinghai Lu [2008-06-22 13:11]: > > On Sun, Jun 22, 2008 at 12:56 PM, Bernhard Walle wrote: > > * "Yinghai Lu" [2008-06-20 13:34]: > >> > >> any problem that you encountered without this patch? > > > > Sorry, forgot to answer that question. > > > > Yes, if you use mem=3G and take a dump, kexec builds the ELF core > > headers for the full memory size, which means that the dump is as large > > as the physical memory of the machine is, which doesn't make sense. > > can we use e820_update_range instead? so e820_setup_gap still can get > correct value? Yes, good idea. Patch is in the queue ... Bernhard -- Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec