[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110206201448.4a259575.rdunlap@xenotime.net>
Date: Sun, 6 Feb 2011 20:14:48 -0800
From: Randy Dunlap <rdunlap@...otime.net>
To: Simon Horman <horms@...ge.net.au>
Cc: "Ahmed S. Darwish" <darwish.07@...il.com>,
Vivek Goyal <vgoyal@...hat.com>,
Haren Myneni <hbabu@...ibm.com>,
Eric Biederman <ebiederm@...ssion.com>,
kexec@...ts.infradead.org, LKML <linux-kernel@...r.kernel.org>,
linux-doc@...r.kernel.org
Subject: Re: [PATCH -next] Documentation: Improve crashkernel= description
On Mon, 7 Feb 2011 06:57:33 +0900 Simon Horman wrote:
> On Sun, Feb 06, 2011 at 05:41:08PM +0200, Ahmed S. Darwish wrote:
> > (Also applicable over 2.6.38-rc3)
> >
> > Had to explore two C code files to make sense of the 'crashkernel='
> > kernel parameter values. Improve the situation.
> >
> > Signed-off-by: Ahmed S. Darwish <darwish.07@...il.com>
> > ---
> >
> > diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
> > index 89835a4..8f26b42 100644
> > --- a/Documentation/kernel-parameters.txt
> > +++ b/Documentation/kernel-parameters.txt
> > @@ -545,9 +545,12 @@ and is between 256 and 4096 characters. It is defined in the file
> > Format:
> > <first_slot>,<last_slot>,<port>,<enum_bit>[,<debug>]
> >
> > - crashkernel=nn[KMG]@ss[KMG]
> > - [KNL] Reserve a chunk of physical memory to
> > - hold a kernel to switch to with kexec on panic.
> > + crashkernel=size[KMG][@offset[KMG]]
> > + [KNL] Using kexec, Linux can switch to a 'crash kernel'
> > + upon panic. This parameter reserves the physical
> > + memory region [offset, offset + size] for that kernel
> > + image. If the '@...set' part was ignored, Linux finds
> > + a suitable crash image start address automatically.
>
> I think this would be further improved as:
>
> ... If '@...set' is omitted then a suitable
> offset is selected automatically.
>
> >
> > crashkernel=range1:size1[,range2:size2,...][@offset]
> > [KNL] Same as above, but depends on the memory
Hi,
I also prefer Simon's change. Can you please resend an updated patch?
thanks,
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists