Re: Bloat report 2.6.3 -> 2.6.4

From: Matt Mackall
Date: Sat Mar 13 2004 - 19:04:08 EST


On Sat, Mar 13, 2004 at 06:57:13PM +0100, Adrian Bunk wrote:
> On Sat, Mar 13, 2004 at 11:33:32AM -0600, Matt Mackall wrote:
> >
> > I actually did explicitly note this problem in the part you clipped.
>
> I clipped nothing, I quoted your _complete_ mail.

Oh, sorry, indeed you did. And it was this bit:

> And what's happening with some of the new symbols is that they're
> off in defconfig but on in Kconfig. So I need to come up with a way
> to take the old defconfig and merge in new symbols from the new
> defconfig. Then throw it at make oldconfig to drop out any obsolete
> symbols.

> > But I think it's fair to say that new features that are on by default
> > are in fact bloat in some sense.
>
> Perhaps in some sense, but not in any interesting sense.
>
> For the average computer you can buy at your supermarket today it isn't
> very interesting whether the kernel is bigger by 1 MB or not.
>
> People who need to care about the size of the kernel [1] use hand-tuned
> .config's that are far away from defconfig - and those people wouldn't
> enable unneeded features that are on by default.

And my coverage of creep in other _commonly used_ parts of the kernel
would then be nil. Given that allyesconfig can't be expected to build
a kernel on any given day, defconfig is the least arbitrary and most
useful of arbitrary choices.

> You use a metric "size increase of a defconfig kernel [2]", and I simply
> claim that this metric doesn't measure anything useful for practical
> purposes.

defconfig is not an unreasonable approximation of features people use.
If something is added to defconfig, odds are that people will start
using it. Not perfect, obviously, but I've yet to see anyone suggest
anything else that actually provides some coverage.

--
Matt Mackall : http://www.selenic.com : Linux development and consulting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/