Re: [PATCH 1/1] 2.6.14-rc3 x86: COMMAND_LINE_SIZE
From: Alon Bar-Lev
Date: Tue Oct 11 2005 - 15:35:10 EST
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/