Re: [PATCH 1/1] 2.6.14-rc3 x86: COMMAND_LINE_SIZE

Alon Bar-Lev
2005-10-11T20:34:51Z

Andi Kleen wrote:
>
> It's a bad idea to have a CONFIG for every buffer. If we go down this way
> this way we end up with a unconfigurable kernel at some point with
> hundreds of obscure parameters. Just increase it if there is a need for it.
> If you're really worried about memory consumption you can
> make the big buffer __initdata and copy it to a newly allocated buffer of the
> right size.

OK... So I think 1024 bytes should be used... Does it sound OK?

But I still think that the documentation should not specify
a fixed size, so that boot loaders will pass the full
command line to the kernel.

Best Regards,
Alon Bar-Lev.