From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amerigo Wang Date: Thu, 06 Aug 2009 07:44:30 +0000 Subject: Re: [Patch 1/7] x86: add CONFIG_KEXEC_AUTO_RESERVE Message-Id: <4A7A89DE.9040206@redhat.com> List-Id: References: <20090805112123.6552.73574.sendpatchset@localhost.localdomain> <20090805112133.6552.69619.sendpatchset@localhost.localdomain> <87zlaeiakr.fsf@basil.nowhere.org> <4A7A3807.8090803@redhat.com> <20090806071526.GA22124@basil.fritz.box> In-Reply-To: <20090806071526.GA22124@basil.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andi Kleen Cc: linux-kernel@vger.kernel.org, tony.luck@intel.com, linux-ia64@vger.kernel.org, Neil Horman , "Eric W. Biederman" , akpm@linux-foundation.org, Ingo Molnar , Anton Vorontsov Andi Kleen wrote: >>> More useful would seem a crashkernel=size@auto >>> >>> >> We already have this, just use "crashkernel=size@0". :) >> > > When it's already there then I don't see the point of the feature at all. > > Hardcoding the size doesn't really make any sense to me, especially > a suspicious one like 128MB. > Hi, Andi, The point here is the size, hmm... I just got an idea, how about reserving the same memory of the size of kernel itself? For example, if the kernel itself is 3M, we reserved 8M ( x2 and then rounded to 2^n) for the kexec kernel? Any comments? Thanks!