From: Andrew Jones <drjones@redhat.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: rientjes@google.com, mingo@elte.hu, david.woodhouse@intel.com,
linux-kernel@vger.kernel.org, gregkh@suse.de,
davem@davemloft.net, axboe@kernel.dk, arnd@arndb.de,
holt@sgi.com, linux-arch@vger.kernel.org, linux@arm.linux.org.uk,
hskinnemoen@gmail.com, egtvedt@samfundet.no, msalter@redhat.com,
a-jacquiot@ti.com, starvik@axis.com,
jesper nilsson <jesper.nilsson@axis.com>,
dhowells@redhat.com, takata@linux-m32r.org, geert@linux-m68k.org,
yasutake koichi <yasutake.koichi@jp.panasonic.com>,
jonas@southpole.se, kyle@mcmartin.ca, deller@gmx.de,
jejb@parisc-linux.org, chris@zankel.net, greg@kroah.com,
davej@redhat.com, airlied@linux.ie, jkosina@suse.cz,
mchehab@infradead.org, johannes@sipsolutions.net,
linville@tuxdriver.com
Subject: Re: [PATCH] kconfig: untangle EXPERT and EMBEDDED
Date: Thu, 19 Jan 2012 09:09:55 +0100 [thread overview]
Message-ID: <20120119080955.GA2274@turtle.usersys.redhat.com> (raw)
In-Reply-To: <20120118122830.037f1e29.akpm@linux-foundation.org>
On Wed, Jan 18, 2012 at 12:28:30PM -0800, Andrew Morton wrote:
> And ditto EXPERT. Is there really any benefit in hiding config options
> from developers so they won't burn their fingers? Or is there some
> other reason for EXPERT?
The initial motivation for this patch actually comes from some backlash I
got when submitting a different patch. The other patch attempted to change
a silent config option, e.g.
config FOO
def_bool y
depends on BAR && BAZ
to one where it could be configurable, e.g.
config FOO
bool "This is Foo"
default y
depends on BAR && BAZ
help
Foo does FOObulously cool stuff
I needed it configurable because the default was y and I wanted to make it
n in my config. The backlash I got was that the configmenu was already too
complex, and thus this config option had been made silent to reduce that
complexity. My need to change the default was indeed for a very specific
purpose, and nobody else cared about it. Even though I was able to point
out another, more general, reason one might want to configure out that
option, it really didn't look like the patch was going anywhere. So I
looked around for another solution and found EXPERT. Changing the option
to
config FOO
bool "This is Foo" if EXPERT
default y
depends on BAR && BAZ
help
Foo does FOObulously cool stuff
seemed like a great way to solve the configmenu complexity issue, and get
my configurablity. The documentation for EXPERT
This option allows certain base kernel options and settings
to be disabled or tweaked. This is for specialized
environments which can tolerate a "non-standard" kernel.
Only use this if you really know what you are doing.
indicated to me that that's precisely what EXPERT was for. Unfortunately a
quick experiment showed that it messes with config options, as well as
expose them for disabling and tweaking.
That's the initial motivation for fixing EXPERT. Before posting this patch
though I came up with another motivation. If this patch was merged I was
planning to send an RFC asking if it would make sense to apply EXPERT to
most/all of the config options that have sentences like
"If unsure select y, only disable if you know what you're doing"
Options like these also sound like expert options to me, and so there's no
reason to have to visit them while configuring a standard kernel. You'd
just select the default anyway.
>
> Anyway, we already have a way to prevent fingers from getting burnt:
> defconfig. Start out with that and carefully modify it.
>
Yes, this is good, but it doesn't solve the silent option problem. For the
example above
config FOO
def_bool y
depends on BAR && BAZ
I can't just say FOO=n in my own personal config to override it.
next prev parent reply other threads:[~2012-01-19 8:12 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-11 15:16 [PATCH] kconfig: untangle EXPERT and EMBEDDED Andrew Jones
2012-01-11 21:57 ` David Rientjes
2012-01-12 9:18 ` Arnd Bergmann
2012-01-12 10:18 ` Andrew Jones
2012-01-12 21:06 ` David Rientjes
2012-01-13 8:51 ` Andrew Jones
2012-01-13 10:53 ` David Rientjes
2012-01-13 12:22 ` Andrew Jones
2012-01-13 21:27 ` David Rientjes
2012-01-16 9:20 ` Andrew Jones
2012-01-16 23:28 ` David Rientjes
2012-01-17 14:27 ` Andrew Jones
2012-01-17 20:46 ` David Rientjes
2012-01-18 8:14 ` Andrew Jones
2012-01-18 9:19 ` David Rientjes
2012-01-16 15:31 ` Jerome Marchand
2012-01-16 23:37 ` David Rientjes
2012-01-17 14:46 ` Andrew Jones
2012-01-17 20:54 ` David Rientjes
2012-01-18 8:51 ` Jerome Marchand
2012-01-18 8:56 ` Andrew Jones
2012-01-18 9:31 ` David Rientjes
2012-01-18 9:54 ` Andrew Jones
2012-01-18 9:38 ` Andrew Jones
2012-01-12 20:59 ` David Rientjes
2012-01-16 15:40 ` Jerome Marchand
2012-01-16 15:50 ` Andrew Jones
2012-01-16 17:34 ` Geert Uytterhoeven
2012-01-17 8:28 ` Andrew Jones
2012-01-18 11:08 ` Andrew Jones
2012-01-18 11:08 ` Andrew Jones
2012-01-18 11:08 ` Andrew Jones
2012-01-18 20:28 ` Andrew Morton
2012-01-18 20:46 ` Russell King - ARM Linux
2012-01-18 21:04 ` Alexey Dobriyan
2012-01-18 21:36 ` Andrew Morton
2012-01-18 21:48 ` Paul Bolle
2012-01-18 21:55 ` Andrew Morton
2012-01-18 22:13 ` Russell King - ARM Linux
2012-01-18 22:06 ` Alexey Dobriyan
2012-01-18 22:13 ` Dave Jones
2012-01-19 8:09 ` Andrew Jones [this message]
2012-01-23 13:46 ` Andrew Jones
2012-01-24 0:43 ` David Rientjes
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=20120119080955.GA2274@turtle.usersys.redhat.com \
--to=drjones@redhat.com \
--cc=a-jacquiot@ti.com \
--cc=airlied@linux.ie \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=axboe@kernel.dk \
--cc=chris@zankel.net \
--cc=davej@redhat.com \
--cc=davem@davemloft.net \
--cc=david.woodhouse@intel.com \
--cc=deller@gmx.de \
--cc=dhowells@redhat.com \
--cc=egtvedt@samfundet.no \
--cc=geert@linux-m68k.org \
--cc=greg@kroah.com \
--cc=gregkh@suse.de \
--cc=holt@sgi.com \
--cc=hskinnemoen@gmail.com \
--cc=jejb@parisc-linux.org \
--cc=jesper.nilsson@axis.com \
--cc=jkosina@suse.cz \
--cc=johannes@sipsolutions.net \
--cc=jonas@southpole.se \
--cc=kyle@mcmartin.ca \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=linville@tuxdriver.com \
--cc=mchehab@infradead.org \
--cc=mingo@elte.hu \
--cc=msalter@redhat.com \
--cc=rientjes@google.com \
--cc=starvik@axis.com \
--cc=takata@linux-m32r.org \
--cc=yasutake.koichi@jp.panasonic.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.