Re: [PATCH][RFC] Create a top-level "Space-critical features" menu.

From: Thomas Gleixner
Date: Tue May 08 2007 - 04:35:22 EST


On Tue, 2007-05-08 at 04:27 -0400, Robert P. J. Day wrote:
> On Tue, 8 May 2007, Thomas Gleixner wrote:
>
> > On Tue, 2007-05-08 at 04:06 -0400, Robert P. J. Day wrote:
> > > i've always hated that lower-level menu under "General setup":
> >
> > Good reason to break everything which depends on CONFIG_EMBEDDED.
> >
> > tglx
> >
> > > -menuconfig EMBEDDED
> > > - bool "Configure standard kernel features (for small systems)"
>
> i don't know what you're getting at here. are you saying this is a
> bad idea because it will make a mess of the current usage of
> CONFIG_EMBEDDED in the source tree?
>
> $ grep -rw CONFIG_EMBEDDED *
> ... lots of irrelevant defconfig output deleted ...
> drivers/pci/setup-res.c:#ifdef CONFIG_EMBEDDED
> include/linux/ide.h:#if !defined(MAX_HWIFS) || defined(CONFIG_EMBEDDED)
> $

# find -iname Kconfig | xargs grep EMBEDDED

> i don't see a whole lot of impact here.

But there _IS_ impact. It does not matter whether it is a lot or not.

> more to the point, though,
> the word "EMBEDDED" in this context is just wrong. people might have
> *other* reasons to de-activate some of those features rather than just
> for an embedded system.
>
> granted, that's probably where it will *mostly* happen, but i prefer
> the idea of labelling those selections for what they really are -- for
> *saving* *space*, because that's exactly what they represent.

I prefer patches, which do not break things all over the place.

tglx


-
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/