From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from koto.vergenet.net ([210.128.90.7]) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1JrMTc-0007ji-G4 for kexec@lists.infradead.org; Thu, 01 May 2008 00:16:45 +0000 Date: Thu, 1 May 2008 10:16:40 +1000 From: Simon Horman Subject: Re: [PATCH] Make extended crashkernel= syntax less confusing Message-ID: <20080501001638.GD22728@verge.net.au> References: <20080430112915.f56d8815.akpm@linux-foundation.org> <20080430235726.3f28b732@kopernikus.site> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20080430235726.3f28b732@kopernikus.site> 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: Bernhard Walle Cc: Michael Ellerman , Andrew Morton , kexec@lists.infradead.org On Wed, Apr 30, 2008 at 11:57:26PM +0200, Bernhard Walle wrote: > * Andrew Morton [2008-04-30 11:29]: > > > > I'm a bit surprised to see the code being updated but not the > > documentation. Were they out of sync before or are they out of sync after > > this patch or were they always in sync or what? > > It was simply not specified. I propose the following patch to make it > clear: This is fine by me, acked. > ---- > > [PATCH] Clarify inclusive/exclusive in crashkernel commandline in documentation > > > Reflect the changes from Michael Ellerman in crashkernel syntax that make the > end of the memory exclusive in the documentation. It was simply not specified > before. > > > Signed-off-by: Bernhard Walle > > --- > Documentation/kdump/kdump.txt | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > --- a/Documentation/kdump/kdump.txt > +++ b/Documentation/kdump/kdump.txt > @@ -245,6 +245,8 @@ The syntax is: > crashkernel=:[,:,...][@offset] > range=start-[end] > > + 'start' is inclusive and 'end' is exclusive. > + > For example: > > crashkernel=512M-2G:64M,2G-:128M > @@ -253,10 +255,11 @@ This would mean: > > 1) if the RAM is smaller than 512M, then don't reserve anything > (this is the "rescue" case) > - 2) if the RAM size is between 512M and 2G, then reserve 64M > + 2) if the RAM size is between 512M and 2G (exclusive), then reserve 64M > 3) if the RAM size is larger than 2G, then reserve 128M > > > + > Boot into System Kernel > ======================= > > > _______________________________________________ > kexec mailing list > kexec@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec -- Horms _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec