Re: [patch 1/7] Extended crashkernel command line

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bernhard Walle <bwalle@...>
Cc: <linux-kernel@...>, <linux-arch@...>, <kexec@...>, <akpm@...>
Date: Tuesday, September 25, 2007 - 4:53 pm

* Tue, 25 Sep 2007 20:22:58 +0200
[]

I still want to point out my consernes about `unsigned long long long'
bloat.

[]

#v+
olecom@flower:/tmp$ grep '@offset' <extended-crashkernel-cmdline.mbox
    crashkernel=<range1>:<size1>[,<range2>:<size2>,...][@offset]
-       /* crashkernel=size@offset specifies the size to reserve for a crash
+While the "crashkernel=size[@offset]" syntax is sufficient for most
+    crashkernel=<range1>:<size1>[,<range2>:<size2>,...][@offset]
+       crashkernel=range1:size1[,range2:size2,...][@offset]
olecom@flower:/tmp$ grep '@base' <extended-crashkernel-cmdline.mbox
+ *     crashkernel=size[@base]
olecom@flower:/tmp$ grep '@<base' <extended-crashkernel-cmdline.mbox
+ *   crashkernel=<ramsize-range>:<size>[,...][@<base>]
olecom@flower:/tmp$ grep '@<offset' <extended-crashkernel-cmdline.mbox
olecom@flower:/tmp$
#v-


memparse(), as a wrapper for somple_strtoll(), always have a return value
(zero by default).
<http://article.gmane.org/gmane.linux.kernel/583426>

Consider coded error path now, please.

And why not to make overall result reliable? This is kernel after all.

I.e. if there's valid `crashkernel=' option, but some parsing errors, why
not to apply some heuristics with warning in syslog, if user have some
conf, bootloader (random) errors, but feature still works?

--
-o--=O`C
 #oo'L O
<___=E M
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 1/7] Extended crashkernel command line, Bernhard Walle, (Tue Sep 25, 2:22 pm)
Re: [patch 1/7] Extended crashkernel command line, Oleg Verych, (Tue Sep 25, 4:53 pm)
Re: [patch 1/7] Extended crashkernel command line, Bernhard Walle, (Wed Sep 26, 12:16 pm)
Re: [patch 1/7] Extended crashkernel command line, Oleg Verych, (Wed Sep 26, 2:18 pm)
Re: [patch 1/7] Extended crashkernel command line, Bernhard Walle, (Wed Sep 26, 5:05 pm)
Re: [patch 1/7] Extended crashkernel command line, Bernhard Walle, (Wed Sep 26, 2:18 pm)
Re: [patch 1/7] Extended crashkernel command line, Bernhard Walle, (Wed Sep 26, 4:34 am)