linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@mindspring.com>
To: Bernd Eckenfels <ecki-lkm@lina.inka.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: why the current kernel config menu layout is a mess
Date: Fri, 25 Jul 2003 08:46:29 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.53.0307250820320.25867@localhost.localdomain> (raw)
In-Reply-To: <E19frN3-00025I-00@calista.inka.de>

On Fri, 25 Jul 2003, Bernd Eckenfels wrote:

> In article <Pine.LNX.4.53.0307242020140.23200@localhost.localdomain> you wrote:

> > "Multiple devices (RAID and LVM)"
> 
> Well, if we go along the line of using unix naming, then MD can be moved ot
> block devices, not to filesystems.

i'm still not keen on the notion of having an entire menu category
called "block devices".  apart from the hard-core kernel coders here,
i don't think mere mortals think this way.  but there's another concern
with any menu re-org.

from my poking around in the whole Kconfig structure, it seems that the
menu structure is tied awfully closely to the underlying directory
structure.  this would make it overly difficult to shift parts of
the config menu around without dragging the corresponding directories
around as well.

so, as much as i'd like to see a more intuitive menu layout, i'm
starting to think that this may not be all that easy anymore.
it's one thing to shift menu entries around.  it's quite another
to start moving entire directories around in the kernel source
tree, and it seems that that's what would be necessary.  unless
i'm misreading something badly.

rday

p.s.  since i'm sure there's at least a couple people here i haven't
annoyed intensely thus far :-), let me toss out two more thoughts.

checkboxes at the top level
---------------------------

  some time ago, i suggested it would be nice to be able to deselect
entire submenus right at the top level.  for example, it's clearly
inefficient to have to select "Parallel port support" and bring
up its corresponding submenu, if your only goal is to *deselect*
that option.

  it would be really terrific to have checkboxes for deselecting
entire subsystems right at the top level, but i suspect that would
require a major rewrite of Kconfig, wouldn't it?  bummer.

who defines a menu?
-------------------

  the other problem i noticed is the restrictions imposed when a
Kconfig file defines its own menu title.  just as one example, 
consider ../drivers/acpi/Kconfig.  that Kconfig file defines itself
at the very top as the menu for "ACPI Support".  but who's to say
that someone else might not write another set of drivers in another
directory that relate to some other feature of ACPI?

  that will be inconvenient since the Kconfig file i refer to has
already taken the inflexible position of claiming, "*i*, and only i,
shall handle ACPI, and i shall be the ACPI support menu."

  frankly, i don't think Kconfig files should define their own
menu names.  that should be done by their *including* files,
which gives the including files the flexibility to decide how to
name and include menus.

  if this were done consistently, re-ordering the menu layout
would be a breeze.  in short, if i use ACPI as an example, whoever
wrote the ACPI stuff would be responsible for writing the Kconfig
file to describe options and dependencies, but would leave the
menu name and how those menu entries were included in the overall
structure to a higher-level Kconfig file, all the way back to
the top-level Kconfig file, whose job would be to simply define
the top-level menu and include the appropriate next-level
Kconfig files.

  although, i will admit, there may be limitations to this
i haven't thought of yet.

  reply	other threads:[~2003-07-25 12:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-25  0:56 Robert P. J. Day
2003-07-25  1:27 ` Bernd Eckenfels
2003-07-25 12:46   ` Robert P. J. Day [this message]
2003-07-25 14:10     ` Tomas Szepe
2003-07-25 13:18 Frederick, Fabian
2003-07-25 14:58 John Bradford
2003-07-25 15:07 ` Roman Zippel
2003-07-25 15:26 ` Robert P. J. Day
2003-07-25 15:51   ` Tomas Szepe
2003-07-25 16:11   ` Herbert Pötzl
2003-07-25 15:28 John Bradford
2003-07-25 15:53 John Bradford

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=Pine.LNX.4.53.0307250820320.25867@localhost.localdomain \
    --to=rpjday@mindspring.com \
    --cc=ecki-lkm@lina.inka.de \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: why the current kernel config menu layout is a mess' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).