Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261492AbUKFWdH (ORCPT ); Sat, 6 Nov 2004 17:33:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261491AbUKFWdH (ORCPT ); Sat, 6 Nov 2004 17:33:07 -0500 Received: from orion.netbank.com.br ([200.203.199.90]:14091 "EHLO orion.netbank.com.br") by vger.kernel.org with ESMTP id S261492AbUKFW3s (ORCPT ); Sat, 6 Nov 2004 17:29:48 -0500 Message-ID: <418D4268.8000409@conectiva.com.br> Date: Sat, 06 Nov 2004 19:30:16 -0200 From: Arnaldo Carvalho de Melo Organization: Conectiva S.A. User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adrian Bunk Cc: Andries Brouwer , Linus Torvalds , Linux Kernel Mailing List Subject: Re: bloat References: <20041105014146.GA7397@pclin040.win.tue.nl> <20041106120716.GA9144@pclin040.win.tue.nl> <20041106193605.GL1295@stusta.de> <20041106214147.GA9663@pclin040.win.tue.nl> <20041106220753.GQ1295@stusta.de> In-Reply-To: <20041106220753.GQ1295@stusta.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1880 Lines: 47 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) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/