[PATCH] kexec: lengthen the kernel command line image

Zhang Yanfei zhangyanfei at cn.fujitsu.com
Mon Mar 25 03:42:09 EDT 2013


于 2013年03月05日 09:51, Simon Horman 写道:
> On Mon, Feb 04, 2013 at 01:53:55PM -0600, Cliff Wickman wrote:
>> From: Cliff Wickman <cpw at sgi.com>
>>
>> The crash kernel's boot command line is not long enough to contain the
>> necessary memmap= options for a large memory.
>>
>> The fix is simple, as long as the boot loader's command line is also long enough.
>> I'm not sure about boot loader or kernel restrictions to this length.
>>
>> Signed-off-by: Cliff Wickman <cpw at sgi.com>
> 
> Thanks, applied.

Hello

I have a question about this patch.

In x86 code, COMMAND_LINE_SIZE is defined as below:

arch/x86/include/asm/setup.h

#define COMMAND_LINE_SIZE 2048

So even the patch lengthens the commandline length here, when reboot into
the new kernel, the commandline will still be stripped to 2048? right?

So the patch seems unnecessary or unusable. Correct me if I am wrong.

Thanks
Zhang

> 
> _______________________________________________
> kexec mailing list
> kexec at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec
> 




More information about the kexec mailing list