Messages in this thread | | | Subject | Re: COMMAND_LINE_SIZE increasing in 2.6.11-rc1-bk6 | From | (Eric W. Biederman) | Date | 12 Feb 2005 06:54:00 -0700 |
| |
Werner Almesberger <wa@almesberger.net> writes:
> Andi Kleen wrote: > > It's dependent on the architecture already. I would like to enable > > it on i386/x86-64 because the kernel command line is often used > > to pass parameters to installers, and having a small limit there > > can be awkward. > > Something to keep in mind when extending the command line is that > we'll probably need a mechanism for passing additional (and > possibly large) data blocks from the boot loader soon. > > The reason for this is that, if booting through kexec, it would be > attractive to pass device scan results, so that the second kernel > doesn't have to repeat the work. As an obvious extension, anyone > who wants to boot *quickly* could also pass such data from > persistent storage without actually performing the device scan at > all when the machine is booted. > > The command line may be suitable for this, but to allow for passing > a lot of data, its place in memory should perhaps just be reserved, > at least until the system has passed initialization, without trying > to copy it to a "safe" place early in kernel startup.
Actually this is trivial to do by using a file in initramfs. If we need something in a well defined format anyway.
Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |