public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: devzero@web.de
To: linux-kbuild@vger.kernel.org
Subject: defconfigs size reduction?
Date: Sun, 03 Feb 2008 13:29:00 +0100	[thread overview]
Message-ID: <142056111@web.de> (raw)

hi there, 

i found that there are a lot of deconfigs bundled with every kernel-release. (about 335 on my suse box)

summed up, that`s  6,3M and 311 KLOC (Kilo Lines of Configuration :) 

i think, that`s quite a lot.

if i strip the comments ( real comments and "# CONFIGOPT is not set") and the blank lines from that, the size reduces to 1.9M and 86 KLOC.

i have tested such stripping with arch/x86/configs/i386_defconfig and if i do a "make defconfig" afterwards, the .config in /usr/src/linux
has those comments and the blank lines again.

so it appears, that these defconfigs have lot`s of redundant information which could probably be wiped with a bigger cleanup patch.
i`m not sure, if this is a good approach, because others may use the configs in a different way or it may work differently for other arches. 

maybe you experts can give a comment here ?
would such cleanup for shrinking kernelsize be reasonable ?

regards
roland



_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114


             reply	other threads:[~2008-02-03 12:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-03 12:29 devzero [this message]
2008-02-06 21:13 ` defconfigs size reduction? Sam Ravnborg

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=142056111@web.de \
    --to=devzero@web.de \
    --cc=linux-kbuild@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox