Re: Auto generate .config.

From: Jon Masters
Date: Fri Dec 12 2008 - 11:36:08 EST


On Fri, 2008-12-12 at 14:20 -0200, Marcello Henrique wrote:

> I understand that this is possible, but would not be possible to
> generate one .config of modules that are running to compile a kernel
> optimized?
>
> The idea is that the kernel of my distribution is too fat and I only
> generate a kernel module that I use automatically from a kernel fat.
> understand?

Several people have written scripts over the years to do this. I don't
have one handy, but I suspect the LKML (linux-kernel) archives know.

Note that module overhead is not /too/ bad these days. It used to be
that loading modules significantly affected boot time, but some recent
improvements have helped - including a few fixes to module-init-tools:
binary trie based index files (v3.5), shortened naming (v3.6), etc. I
think that, really, at this point module loading overhead is small.

Jon.


--
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/