From: Adrian Bunk <bunk@kernel.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: Adrian Bunk <bunk@kernel.org>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
linux-kernel@vger.kernel.org, "Rafael J. Wysocki" <rjw@sisk.pl>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: Ingo, no more kconfig patches
Date: Sun, 4 May 2008 01:03:30 +0300 [thread overview]
Message-ID: <20080503220330.GV5838@cs181133002.pp.htv.fi> (raw)
In-Reply-To: <20080503215214.GA18407@elte.hu>
On Sat, May 03, 2008 at 11:52:14PM +0200, Ingo Molnar wrote:
>
> * Adrian Bunk <bunk@kernel.org> wrote:
>
> > > at minimum a warning needs to be emitted by the kconfig tool if such
> > > incomplete selects are used. I've stopped counting the number of
> > > times such issues have broken the build and have held up kernel
> > > development.
> >
> > It might held up your randconfig compiles.
> >
> > Actual kernel development isn't much affected.
>
> uhm, you are quite wrong - countless times have people been bitten by
> select's breakages in the past, and not via randconfig. That's the main
> reason why select use in Kconfig was not encouraged for a long time.
But it has not "held up kernel development".
Send a bug report to linux-kernel or with a Cc to me and I'll look at
the bug.
I've done this for years.
> Select does make sense in some situations but it's a double-edged sword:
> kconfig does not warn at all about the situations where it's "unsafe" to
> use it - while it has all the information in the Kconfig files to emit
> that warning. Instead we get build breakages not visible when an
> incorrect select is added, but much later, if someone happens to stumble
> on the wrong kind of .config. That is obviously harmful.
And how would a warning help?
>From an UI perspective we often want to select options that have
dependencies.
> My larger point is that this kconfig tool bug breeds a constant stream
> of avoidable breakages, which causes lost manpower and causes a stream
> of trivial patches hindering maintainers all around the tree. Because
> every such trivial patch has to be reviewed, tested, it clogs the commit
> logs, etc.
>
> So the more trivial patches we _avoid_ having to do in the future, the
> better. I'm not sure why you are even arguing against this this rather
> simple point - your arguments are rather hard to understand. Wouldnt you
> be happier if a whole category of trivial breakages was avoided and if
> you didnt have to deal with and waste your time on that category of
> trivial patches anymore?
>
> Most of the time reoccuring trivial patches are an indicator of some
> deeper structural problem - as in this case.
Your conclusions are based on an assumption that isn't true.
"trivial patches" are the patches you send.
But they are often bogus.
Fixing these issues properly often requires a deeper understanding of
both kconfig and the dependencies of the underlying code.
> Ingo
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2008-05-03 22:04 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-30 20:03 [patch] input: JOYSTICK_XPAD build fix Ingo Molnar
2008-04-30 21:02 ` Dmitry Torokhov
2008-04-30 21:13 ` Ingo Molnar
2008-04-30 23:01 ` Ingo, no more kconfig patches Adrian Bunk
2008-05-01 1:17 ` Ingo Molnar
2008-05-01 1:37 ` Adrian Bunk
2008-05-01 2:06 ` Ingo Molnar
2008-05-01 2:12 ` Adrian Bunk
2008-05-01 2:52 ` Ingo Molnar
2008-05-01 11:59 ` Adrian Bunk
2008-05-03 19:14 ` Ingo Molnar
2008-05-03 19:17 ` Ingo Molnar
2008-05-03 20:24 ` Adrian Bunk
2008-05-03 21:03 ` Ingo Molnar
2008-05-03 21:24 ` Adrian Bunk
2008-05-03 21:38 ` Sam Ravnborg
2008-05-03 22:07 ` Adrian Bunk
2008-05-04 7:36 ` Sam Ravnborg
2008-05-04 7:49 ` Adrian Bunk
2008-05-03 21:52 ` Ingo Molnar
2008-05-03 22:03 ` Adrian Bunk [this message]
2008-05-04 3:54 ` Valdis.Kletnieks
2008-05-04 7:47 ` Adrian Bunk
2008-05-03 23:22 ` Thomas Gleixner
2008-05-04 0:34 ` Adrian Bunk
2008-05-03 21:17 ` Krzysztof Halasa
2008-05-03 21:47 ` Adrian Bunk
2008-05-03 22:13 ` Krzysztof Halasa
2008-05-03 22:29 ` Adrian Bunk
2008-05-03 23:37 ` Krzysztof Halasa
2008-05-04 0:49 ` Adrian Bunk
2008-05-04 12:18 ` Krzysztof Halasa
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=20080503220330.GV5838@cs181133002.pp.htv.fi \
--to=bunk@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rjw@sisk.pl \
/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®