All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: Adrian Bunk <bunk@stusta.de>
Cc: Andries Brouwer <aebr@win.tue.nl>,
	Linus Torvalds <torvalds@osdl.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: bloat
Date: Sat, 06 Nov 2004 19:30:16 -0200	[thread overview]
Message-ID: <418D4268.8000409@conectiva.com.br> (raw)
In-Reply-To: <20041106220753.GQ1295@stusta.de>



Adrian Bunk wrote:
> On Sat, Nov 06, 2004 at 10:41:47PM +0100, Andries Brouwer wrote:
> 
>>On Sat, Nov 06, 2004 at 08:36:08PM +0100, Adrian Bunk wrote:
>>
>>
>>>It's even harder because some subsystem maintainers refuse to remove 
>>>unused global functions that might be used at some point far in the 
>>>future or that even are never intended for in-kernel usage...
>>
>>I have one or two unused functions inside #if 0 in sddr09.c.
>>Finding out the proper hardware details was nontrivial,
>>it would be a pity to throw the knowledge away.
>>But of course there is never a reason to have an unused function
>>appear in the binary. It is only source bloat.
> 
> 
> No disagreement on this issue.
> 
> But unused global functions that are even EXPORT_SYMBOL'ed like in the 
> ACPI and FireWire cases are not only source bloat...

I agree with Andries that a reasonably small number of lines with
Pure Bloat (aka, not used at all) can stay as source bloat, #ifdefed,
but disagree on it getting lost if removed from the kernel, these days
once something gets in the kernel for at least one release it can be
fairly considered written in stone, with so many mirrors, source
navigation sites, search engines that open all kinds of files looking
for any sequence of letters or even pictures, sounds, etc.

Some years ago, when working with IPX I thought about looking at
finishing Jay Schullist initial work on SPX, but after some time I
just gave up and deleted the thing from mainline, but it is easly
retrievable in case somebody has any kind of interest.

Regards,

- Arnaldo

PS.: Bitrotting is just a small side effect, of course 8)

  reply	other threads:[~2004-11-06 22:33 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-03 21:02 support of older compilers Timothy Miller
2004-11-03 21:13 ` Christoph Hellwig
2004-11-03 21:22   ` Chris Wedgwood
2004-11-03 23:06   ` Adam Heath
2004-11-03 23:30     ` Chris Wedgwood
2004-11-04 16:50       ` Adam Heath
2004-11-04 17:00         ` Chris Friesen
2004-11-04 18:17           ` Adam Heath
2004-11-05 20:00             ` Willy Tarreau
2004-11-05 20:28               ` Geert Uytterhoeven
2004-11-05 20:31                 ` Willy Tarreau
2004-11-04 17:04         ` Valdis.Kletnieks
2004-11-04 18:15           ` Adam Heath
2004-11-04 18:31             ` Valdis.Kletnieks
2004-11-04 21:56               ` Adam Heath
2004-11-04 18:54             ` Ian Romanick
2004-11-04 19:48             ` Christoph Hellwig
2004-11-04 20:14               ` Giuseppe Bilotta
2004-11-05 20:04               ` Willy Tarreau
2004-11-04 19:36           ` Ian Hastie
2004-11-04 20:02             ` Ioan Ionita
2004-11-04 20:03             ` Adrian Bunk
2004-11-04 20:08             ` Valdis.Kletnieks
2004-11-04 19:38         ` Linus Torvalds
2004-11-04 21:47           ` Adam Heath
2004-11-04 21:55             ` Linus Torvalds
2004-11-04 23:39               ` Adam Heath
2004-11-04 23:52                 ` Linus Torvalds
2004-11-05  1:41                   ` Andries Brouwer
2004-11-05 15:41                     ` Linus Torvalds
2004-11-05 15:47                       ` Arjan van de Ven
2004-11-05 16:22                         ` linux-os
2004-11-05 19:50                       ` Chris Wedgwood
2004-11-05 20:28                         ` Linus Torvalds
2004-11-05 21:59                           ` Grzegorz Kulewski
2004-11-05 22:08                             ` Linus Torvalds
2004-11-05 23:02                               ` [PATCH] change Kconfig entry for RAMFS (Was: Re: support of older compilers) Grzegorz Kulewski
2004-11-05 23:12                                 ` Linus Torvalds
2004-11-05 23:44                                   ` [PATCH] change Kconfig entry for RAMFS Grzegorz Kulewski
2004-11-06  0:48                                     ` Grzegorz Kulewski
2004-11-09 23:24                                     ` Matt Mackall
2004-11-10 10:40                                       ` Grzegorz Kulewski
2004-11-10 20:50                                       ` Bill Davidsen
2004-11-05 23:27                                 ` [PATCH] change Kconfig entry for RAMFS (Was: Re: support of older compilers) DaMouse
2004-11-05 23:49                                   ` Grzegorz Kulewski
2004-11-06 13:59                                     ` DaMouse
2004-11-05 22:08                             ` support of older compilers Hua Zhong
2004-11-06  8:38                               ` Willy Tarreau
2004-11-06  9:43                                 ` Hugh Dickins
2004-11-06 11:04                                   ` Willy Tarreau
2004-11-05 22:37                             ` support of older compilers [u] Martin Schlemmer [c]
2004-11-05 23:14                               ` Grzegorz Kulewski
2004-11-05 23:38                                 ` chibiryuu
2004-11-06 12:07                       ` support of older compilers Andries Brouwer
2004-11-06 17:33                         ` Linus Torvalds
2004-11-06 19:36                           ` Adrian Bunk
2004-11-06 21:41                             ` bloat Andries Brouwer
2004-11-06 22:07                               ` bloat Adrian Bunk
2004-11-06 21:30                                 ` Arnaldo Carvalho de Melo [this message]
2004-11-07 13:37                               ` bloat Frank van Maarseveen
2004-11-05 20:20                 ` support of older compilers Willy Tarreau
2004-11-05 22:19                   ` Adam Heath
2004-11-04 22:36             ` Martin J. Bligh
2004-11-04 20:48         ` Bill Davidsen
2004-11-04 22:33     ` Martin J. Bligh
2004-11-03 21:17 ` Matti Aarnio
2004-11-03 21:37   ` Giacomo A. Catenazzi
2004-11-03 21:57     ` Valdis.Kletnieks
2004-11-04  2:16       ` Miles Bader
2004-11-03 22:07     ` Chris Wedgwood
  -- strict thread matches above, loose matches on Subject: below --
2011-08-21 22:58 bloat Anca Emanuel

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=418D4268.8000409@conectiva.com.br \
    --to=acme@conectiva.com.br \
    --cc=aebr@win.tue.nl \
    --cc=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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.