From: Rob Landley <landley@trommello.org>
To: Tom Rini <trini@kernel.crashing.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: CONFIG_TINY
Date: Mon, 4 Nov 2002 02:13:33 +0000 [thread overview]
Message-ID: <200211012054.34338.landley@trommello.org> (raw)
In-Reply-To: <20021031185308.GE30193@opus.bloom.county>
On Thursday 31 October 2002 18:53, Tom Rini wrote:
> On Thu, Oct 31, 2002 at 01:26:07PM -0500, Kent Borg wrote:
> > On Thu, Oct 31, 2002 at 10:04:20AM -0700, Tom Rini wrote:
> > > In other words, s/CONFIG_TINY/CONFIG_FINE_TUNE, and ask about
> > > anything / everything which might want to be tuned up.
> >
> > Please, no. Keep this simple.
>
> We can keep it simple, as long as we keep it flexible.
If having the source isn't enough flexibility for you, it's not possible TO
have enough flexibility for you.
The point of CONFIG_TINY is that anybody interested in looking at how to trim
the fat on their kernel has something to grep for, and it's als a quick and
dirty way to say "this kernel will go on boot floppy or eprom boot image"
without having to spend two days micro-managing.
Having "config_8_million_tweaks" is actually counter-productive. It's quite
possible to give people so many buttons and levers they can't find the two
they're interested in, and there will ALWAYS be instances where you have to
go diddle the source.
Are you seriously suggesting that every single #defined constant should be
editable from make menuconfig? If not, you acknowledge that there IS a line
that needs to be drawn. And the place it has CURRENTLY been drawn (what IS
in make menuconfig) is a darn good starting point for discussion of where it
should be.
> > I don't want a bunch of configs that abstract out everything I might
> > want to tamper with to make a small system. The only way I am going
> > to make sense out of them will be to look at the source controlled by
> > each anyway. I would rather search the source for CONFIG_TINY and see
> > a single, coherent, and sensible set of concrete changes that make
> > things smaller. Let me mangle and customize from there, it will be
> > much easier for me to understand what I am doing.
>
> Templates would help out here. Right now, if something isn't a config
> option, you have to dig into the source to tune things.
More or less by definition, yes.
> This isn't
> really nice since to tweak most things you only need to change a few
> constants.
You're against people having to modify the source at all, then. That
argument's not going far around here, you realise this don't you?
> The problem is finding all of these constants, and the
> places where maybe someone used a number derrived from the constant, and
> so on..
1) This is a seperate argument. Your'e trying to bolt your personal pet
project on to the CONFIG_TINY discussion, and they have nothing to do with
each other.
2) Provide a patch. The CONFIG_TINY people have a patch. You do not. You
lose.
> > > Then this becomes a truely useful set of options, since as Alan
> > > pointed out in one of the earlier CONFIG_TINY threads, his Athlon
> > > could benefit from some of these 'tiny' options too.
> >
> > Certainly, if there are potential config options that would be truly
> > useful to general folks, then by all means, yes!, make them separate
> > options. (Isn't that what has been going on all along?)
>
> I would hope it was, but it doesn't seem like that's been what's going
> on..
Because you haven't personally done it, and nobody else seems to be
interested.
> > But let us
> > not put in a config for every imaginable tuning and then pretend that
> > hiding them behind a CONFIG_FINE_TUNE somehow doesn't make them any
> > less a groady mess.
>
> Let's not pretend that changing > 1 tunable param with 1 CONFIG question
> makes it any better than it is now.
Let's not pretend having one config option for every #define in anything more
than a semantic difference as far as the #defines are concerned, and on top
of that it lowers the value of menuconfig by polluting it with stuff that
very few people should ever have to care about.
> Building a 'tiny' kernel should have nothing to do with any of this.
Oh good, we agree on something.
Start a new thread then, and stop objecting to CONFIG_TINY.
> Don't think 'tiny' think 'flexible'.
Nobody's working on CONFIG_FLEXIBLE. You're trying to hijack a project with a
different agenda because it doesn't do something totally unrelated that you
think should be done.
> And I'm not necessarily saying it
> has to be N CONFIG options (Matt Porter's template idea is rather
> tempting), just that things have to be:
> a) Flexible enough such that someone who wants to tweak param X doesn't
> have to know every intricate detail of subsystem Y just to tune things.
And the universe in general should be easily manipulated by people who don't
understand how it actually works. This is called "magic".
> b) Done in a way that doesn't clutter up the code in question (ideally
> s/some_constant/SOME_DEFINE).
> c) Be simple enough such that people don't shoot their feet off, at
> least not unintentionally.
It should also have the ability to turn lead into gold and make people
younger. I don't think you'll find anybody who disagrees that these would be
great things for it to be able to do.
Rob
--
http://penguicon.sf.net - Terry Pratchett, Eric Raymond, Pete Abrams, Illiad,
CmdrTaco, liquid nitrogen ice cream, and caffienated jello. Well why not?
next prev parent reply other threads:[~2002-11-04 7:07 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-30 22:36 CONFIG_TINY Rasmus Andersen
2002-10-30 23:48 ` CONFIG_TINY Rik van Riel
2002-10-31 0:53 ` CONFIG_TINY Adrian Bunk
2002-10-31 1:10 ` CONFIG_TINY Tom Rini
2002-10-31 5:33 ` CONFIG_TINY Mark Mielke
2002-10-31 14:33 ` CONFIG_TINY Tom Rini
2002-10-31 16:51 ` CONFIG_TINY Mark Mielke
2002-10-31 17:04 ` CONFIG_TINY Tom Rini
2002-10-31 17:12 ` CONFIG_TINY Mark Mielke
2002-10-31 17:24 ` CONFIG_TINY Tom Rini
2002-10-31 17:49 ` CONFIG_TINY Sam Ravnborg
2002-10-31 18:11 ` CONFIG_TINY Tom Rini
2002-11-01 2:09 ` CONFIG_TINY Bill Davidsen
2002-11-01 14:12 ` CONFIG_TINY Tom Rini
2002-10-31 18:26 ` CONFIG_TINY Kent Borg
2002-10-31 18:53 ` CONFIG_TINY Tom Rini
2002-11-04 2:13 ` Rob Landley [this message]
2002-11-04 19:50 ` CONFIG_TINY Tom Rini
2002-11-04 20:34 ` CONFIG_TINY Cort Dougan
2002-11-04 16:16 ` CONFIG_TINY Rob Landley
2002-11-04 22:30 ` CONFIG_TINY Eli Carter
2002-11-01 2:10 ` CONFIG_TINY Arnaldo Carvalho de Melo
2002-10-31 21:12 ` CONFIG_TINY Luc Van Oostenryck
2002-10-31 17:08 ` CONFIG_TINY Matt Porter
2002-10-31 16:52 ` CONFIG_TINY Bernd Petrovitsch
2002-10-31 18:43 ` CONFIG_TINY Rasmus Andersen
2002-10-31 19:15 ` CONFIG_TINY Tom Rini
2002-10-31 19:27 ` CONFIG_TINY Rasmus Andersen
2002-11-01 14:19 ` CONFIG_TINY Tom Rini
2002-10-31 23:30 ` CONFIG_TINY Bernd Petrovitsch
2002-11-01 6:17 ` CONFIG_TINY Rasmus Andersen
2002-11-01 22:05 ` CONFIG_TINY Bernd Petrovitsch
2002-11-01 22:10 ` CONFIG_TINY Rasmus Andersen
2002-11-01 2:03 ` CONFIG_TINY Bill Davidsen
2002-11-01 14:15 ` CONFIG_TINY Tom Rini
2002-11-04 2:13 ` CONFIG_TINY Rob Landley
2002-11-04 19:51 ` CONFIG_TINY Tom Rini
2002-11-04 16:09 ` CONFIG_TINY Rob Landley
2002-11-05 19:26 ` CONFIG_TINY Bill Davidsen
2002-11-05 19:56 ` CONFIG_TINY Tom Rini
2002-11-05 17:55 ` CONFIG_TINY Rob Landley
2002-11-06 2:05 ` CONFIG_TINY Tom Rini
2002-11-06 14:35 ` CONFIG_TINY Bill Davidsen
2002-11-05 19:59 ` CONFIG_TINY Alan Cox
2002-10-31 8:24 ` CONFIG_TINY Rasmus Andersen
2002-10-31 10:05 ` CONFIG_TINY Erik Andersen
2002-10-31 10:08 ` CONFIG_TINY Rasmus Andersen
2002-10-31 11:08 ` CONFIG_TINY Erik Andersen
2002-10-31 19:33 ` CONFIG_TINY Daniel Egger
2002-10-31 19:55 ` CONFIG_TINY Rasmus Andersen
2002-10-31 8:32 ` CONFIG_TINY Jens Axboe
2002-10-31 8:53 ` CONFIG_TINY Rasmus Andersen
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=200211012054.34338.landley@trommello.org \
--to=landley@trommello.org \
--cc=linux-kernel@vger.kernel.org \
--cc=trini@kernel.crashing.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
all inboxes | Powered by JetHome®