All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jon Masters <jonathan@jonmasters.org>
To: Marcello Henrique <faraohh@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Auto generate .config.
Date: Fri, 12 Dec 2008 11:34:59 -0500	[thread overview]
Message-ID: <1229099699.7923.4.camel@jcmlaptop> (raw)
In-Reply-To: <f5cc88f60812120820i4252962er2fa6d3483c2ae412@mail.gmail.com>

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.



  reply	other threads:[~2008-12-12 16:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-12 15:47 Auto generate .config Marcello Henrique
2008-12-12 16:14 ` Renato S. Yamane
2008-12-12 16:20   ` Marcello Henrique
2008-12-12 16:34     ` Jon Masters [this message]
2008-12-12 16:53       ` Renato S. Yamane
2008-12-12 17:18     ` Andi Kleen
2008-12-12 18:12       ` Marcello Henrique

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1229099699.7923.4.camel@jcmlaptop \
    --to=jonathan@jonmasters.org \
    --cc=faraohh@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.