public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Valerie Henson <val_henson@linux.intel.com>
To: J?rn Engel <joern@wohnheim.fh-wedel.de>
Cc: Arjan van de Ven <arjan@infradead.org>, linux-kernel@vger.kernel.org
Subject: Re: Remove unused exports and save 98Kb of kernel size
Date: Thu, 6 Apr 2006 17:41:53 -0700	[thread overview]
Message-ID: <20060407004153.GA11362@goober> (raw)
In-Reply-To: <20060403141027.GC12873@wohnheim.fh-wedel.de>

On Mon, Apr 03, 2006 at 04:10:27PM +0200, J?rn Engel wrote:
> On Sat, 1 April 2006 23:05:45 +0200, Arjan van de Ven wrote:
> > 
> > I've made a patch to remove all EXPORT_SYMBOL's that aren't used in the
> > kernel; it's too big for the list so it can be found at
> > 
> > http://www.kernelmorons.org/unexport.patch
> > 
> > -rwxr-xr-x 1 root root 34476416 Apr  1 21:59 vmlinux.before
> > -rwxr-xr-x 1 root root 34378112 Apr  1 22:48 vmlinux.after
> > 
> > As you can see this saves 98Kb kernel size... that's not peanuts.
> > 
> > Signed-off-by: Arjan van de Ven <arjan@kernelmorons.org>
> 
> Is there a reason that you always leave the newline instead of
> removing it as well?  Looks script-generated, so it should be a simple
> change for the script to remove the newline as well.

Because it wasn't worth fixing for a silly April Fool's joke? :)

> On Sat, 1 April 2006 23:05:45 +0200, Arjan van de Ven wrote:
          ^^^^^^^
> > http://www.kernelmorons.org/unexport.patch
               ^^^^^^^^^^^^^^^^

Of course, there's a serious side to this patch.  Who knows how many
of these exported symbols are actually used?  I can imagine a config
option to turn off these symbols which is shipped as on by default for
a few weeks, in order to flush out people who are actually using these
symbols.

-VAL

  reply	other threads:[~2006-04-07  0:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-01 21:05 Remove unused exports and save 98Kb of kernel size Arjan van de Ven
2006-04-01 21:18 ` Marcel Holtmann
2006-04-03 14:06   ` Jörn Engel
2006-04-04 16:00     ` Marcel Holtmann
2006-04-03 14:10 ` Jörn Engel
2006-04-07  0:41   ` Valerie Henson [this message]
2006-04-03 16:38 ` Takashi Iwai

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=20060407004153.GA11362@goober \
    --to=val_henson@linux.intel.com \
    --cc=arjan@infradead.org \
    --cc=joern@wohnheim.fh-wedel.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox