[lkml]   [2002]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: How to check the kernel compile options ?
On February 12, 2002 05:38 pm, Bill Davidsen wrote:
> On Tue, 12 Feb 2002, Daniel Phillips wrote:
> > On February 11, 2002 08:05 pm, Bill Davidsen wrote:
> > > Did I miss discussion of an option to put it somewhere other than as part
> > > of the kernel? Sorry, I missed that.
> >
> > It's a trick question? The config option would let you specify that no
> > kernel config information at all would be stored with or in the kernel. No
> > cost, no memory footprint. And I would get to have the extra warm n fuzzy
> > usability I tend to go on at such lengths about. So we're both happy, right?
> >
> > I'd even remain happy if the option were set *off* by default.
> No trick other than to read what I said in either of the previous posts...
> the question was not how to avoid having the useful feature, but how to
> put it somewhere to avoid increasing the kernel size. I suggested in the
> modules directory, either as a text file or as a module.

We are in violent agreement, I'm not sure where the misunderstanding came from.
Yes, the leading idea is to put it in a module. In fact a patch exists, though
it may have issues, it's been a while since I looked at it.

Besides that, it's been suggested to stick it only the end of bzImage in a way
that some utility can find it, so that it never gets loaded into memory or does
and is immediately discarded. Bootfs might be another way to go, or maybe
that's just a way of making the module solution more elegant. Personally, I
think that making it a module is obviously the right way to go. The exact
details of how the module would work haven't been hashed out yet, at least,
not recently. I presume the module should be compressed. Perhaps it should
only work in conjunction with some user space utility, allowing the config
info to be expressed even more compactly than otherwise possible. There is a
lot of room for creative compression here - I roughed out a design at one point
that would be able to represent the config information in something like a
couple hundred bytes, when the compile is from a standard tree. This is cute,
but it's probably more cute than necessary.

> Disabling the feature is not the same as making it work optimally.
> I like making it a module because it's obvious that modules_install is
> needed. I see zero added utility from having it part of the kernel or
> nothing, it's useful even to people booting from ROM, small /boot
> partitions, etc.

OK, my apologies for misinterpreting your position.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:24    [W:0.079 / U:1.584 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site