Re: Ingo, no more kconfig patches

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Saturday, May 3, 2008 - 2:03 pm

* Adrian Bunk <bunk@kernel.org> wrote:


Adrian, your tone is getting more and more abusive, and while i can 
easily ignore your abuse you are not just doing it towards me but 
towards other kernel developers as well. You need to stop that.

Yes, the incomplete (and buggy) select came from an x86 Kconfig file but 
you missed the real argument. Half a dozen other times similar bugs came 
from other portions of the tree so it's a reoccuring pattern of bugs.

And had you read the exchange more carefully you'd notice that the 
discussion was about the Kconfig subsystem bug which is causing all 
these other bugs - which Kconfig subsystem bug is still unfixed. In the 
discussion Dmitry assumed the obvious: that a select on a component will 
also select the sub-components. The problem is - select does not do 
that.


sure, and that's exactly what i said above: "Roman's patch is obviously 
cleaner than my hack". It avoids this problem by creating a single 
target to select for.

A wrong/buggy select _somewhere_ (this time the bug indeed was in an x86 
subarch Kconfig - but often it was just in a driver that tried to enable 
LEDS support) breaks the build - instead of propagating dependencies or 
at least warning about the problem. That's a Kconfig subsystem design 
bug and it has been known for years.

it's now worked around by Roman's patch by making the LEDS Kconfig 
structure simpler so there's just a single select target. But the root 
cause was not fixed and similar issues could hit the kernel anytime in 
the future. So it's not a real fix - it just prolonges the real fix some 
more.


how many times do i have to repeat it that yes it was a hack and that it 
was wrong?


great, does this mean we'll see fixes for select's misbehavior, along 
the lines of Sam's suggestions?

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. 

All the information is already in the Kconfig files for the kconfig 
tool/subsystem to make an intelligent decision. It's just not fully 
used, and the burden of fixing these problems is pushed back to the 
developers who create the Kconfig files.

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch] input: JOYSTICK_XPAD build fix, Ingo Molnar, (Wed Apr 30, 1:03 pm)
Re: [patch] input: JOYSTICK_XPAD build fix, Dmitry Torokhov, (Wed Apr 30, 2:02 pm)
Re: [patch] input: JOYSTICK_XPAD build fix, Ingo Molnar, (Wed Apr 30, 2:13 pm)
Ingo, no more kconfig patches, Adrian Bunk, (Wed Apr 30, 4:01 pm)
Re: Ingo, no more kconfig patches, Ingo Molnar, (Wed Apr 30, 6:17 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Wed Apr 30, 6:37 pm)
Re: Ingo, no more kconfig patches, Ingo Molnar, (Wed Apr 30, 7:06 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Wed Apr 30, 7:12 pm)
Re: Ingo, no more kconfig patches, Ingo Molnar, (Wed Apr 30, 7:52 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Thu May 1, 4:59 am)
Re: Ingo, no more kconfig patches, Ingo Molnar, (Sat May 3, 12:14 pm)
Re: Ingo, no more kconfig patches, Ingo Molnar, (Sat May 3, 12:17 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sat May 3, 1:24 pm)
Re: Ingo, no more kconfig patches, Ingo Molnar, (Sat May 3, 2:03 pm)
Re: Ingo, no more kconfig patches, Krzysztof Halasa, (Sat May 3, 2:17 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sat May 3, 2:24 pm)
Re: Ingo, no more kconfig patches, Sam Ravnborg, (Sat May 3, 2:38 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sat May 3, 2:47 pm)
Re: Ingo, no more kconfig patches, Ingo Molnar, (Sat May 3, 2:52 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sat May 3, 3:03 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sat May 3, 3:07 pm)
Re: Ingo, no more kconfig patches, Krzysztof Halasa, (Sat May 3, 3:13 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sat May 3, 3:29 pm)
Re: Ingo, no more kconfig patches, Thomas Gleixner, (Sat May 3, 4:22 pm)
Re: Ingo, no more kconfig patches, Krzysztof Halasa, (Sat May 3, 4:37 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sat May 3, 5:34 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sat May 3, 5:49 pm)
Re: Ingo, no more kconfig patches, Valdis.Kletnieks, (Sat May 3, 8:54 pm)
Re: Ingo, no more kconfig patches, Sam Ravnborg, (Sun May 4, 12:36 am)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sun May 4, 12:47 am)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sun May 4, 12:49 am)
Re: Ingo, no more kconfig patches, Krzysztof Halasa, (Sun May 4, 5:18 am)