Re: Reporting bugs and bisection

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: Willy Tarreau <w@...>, <david@...>, Stephen Clark <sclark46@...>, Evgeniy Polyakov <johnpol@...>, Rafael J. Wysocki <rjw@...>, Tilman Schmidt <tilman@...>, <Valdis.Kletnieks@...>, Mark Lord <lkml@...>, David Miller <davem@...>, <jesper.juhl@...>, <yoshfuji@...>, <jeff@...>, linux-kernel <linux-kernel@...>, <git@...>, <netdev@...>
Date: Monday, April 14, 2008 - 3:23 am

On Sun, Apr 13, 2008 at 11:24:41PM -0700, Andrew Morton wrote:


In addition to obvious "we need testing and something better than bugzilla
to keep track of bugs"?  Real review of code in tree and patches getting into
the tree.

And the latter part _must_ be done on each entry point.  Any git tree
that acts as injection point really needs a working mechanism of some
sort that would do that; afterwards it's too late, since review of
the stuff getting into mainline on a massive merge is sadly impractical.

I don't know any formal mechanism that could take care of that; no more
than making sure that no backdoors are injected into the tree.  It really
has to be a matter of trust for tree maintainers and community around
the subsystem.

Git is damn good at killing the merge bottleneck.  Too good, since it
hides the review bottleneck.  And we get equivalents of self-selected
communities that had been problem for "here's our CVS, here's monthly
dump from it, apply" kind of setups.  It _is_ better, since one can
get to commit history (modulo interesting issues with merge nodes and
conflict resolution).  But in practice it's not good enough - the patches
going in during a merge (especially for a tree that collects from
secondaries) are not visible enough.  And it's too late at that point,
since one has to do something monumentally ugly to get Linus revert
a large merge.  On the scale of Great IDE Mess in 2.5...

linux-next might help with the last part, but I don't think it really
deals with the first one.  It certainly helps to some extent, but...

We need higher S/N on l-k.  We need people looking into the subsystem
trees as those grow and causing a stench when bad things are found,
with design issues getting brought to l-k if nothing else helps.  We
need tree maintainers understanding that review, including out-of-community
one, is needed (the need of testing is generally better understood - I
_hope_).

We need more people reading the fscking source.  Subsystem by subsystem.
Without assumption that code is not broken.  With mechanism collating
the questions asked and answers given.  Ideally we need growing documentation
of core subsystems and data structures, with explicit goal of helping
reviewers new to an area to find their way around it.  And yes, I'm
guilty of procrastinating on that - several half-finished pieces on
VFS-related stuff are sitting locally ;-/

We need gregkh to get real and stop assuming that two Signed-off-by are
equivalent to "reviewed at least twice", while we are at it ;-)

We need people to realize that warnings are useful as triage tools -
not as "Ug see warning.  Warning bad.  Ug fix that line.  Warning go away.
Ug changeset count grow.  Ug happy.", but as machine-assisted part of
finding confused areas of code.  With human combining signals from
different warnings to get statistically useful triage strategies (note
that aforementioned making gcc/sparse/whatnot to STFU by local change
has a lovely potential of distorting those signals and actually _hiding_
crap code).

Maybe we need a list a-la linux-arch for tree maintainers to coordinate
stuff - obviously open not only for those.

We really need to get around to doing triage of remaining stuff in -mm,
BTW - again, guilty for not getting through such on VFS-related stuff
in there.  Hopefully linux-next trees will eventually vacuum most of the
pile in...

As for the bug that got this thread started...  I'd say that asking to
bisect was reasonable in this particular case.  The following DSW mixed
into the thread very soon went the way of all DSW (OK, it hadn't godwinated
yet, at least in the parts I've seen, so there's still way to go, but...)

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

Messages in current thread:
[Bug #10391] 2.6.25-rc7/8: Another resume regression, Rafael J. Wysocki, (Tue Apr 8, 7:02 pm)
2.6.25-rc8: FTP transfer errors, Mark Lord, (Wed Apr 9, 12:56 am)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Wed Apr 9, 9:37 am)
Re: 2.6.25-rc8: FTP transfer errors, Jeff Garzik, (Wed Apr 9, 12:46 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Wed Apr 9, 1:16 pm)
re: Regression: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Wed Apr 9, 1:27 pm)
Re: 2.6.25-rc8: FTP transfer errors, YOSHIFUJI Hideaki / , (Wed Apr 9, 1:30 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Wed Apr 9, 3:05 pm)
Re: 2.6.25-rc8: FTP transfer errors, Jeff Garzik, (Wed Apr 9, 3:08 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Wed Apr 9, 6:29 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Wed Apr 9, 8:02 pm)
Re: 2.6.25-rc8: FTP transfer errors, Ilpo Järvinen, (Thu Apr 10, 4:46 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Thu Apr 10, 5:05 pm)
Re: 2.6.25-rc8: FTP transfer errors, Ilpo Järvinen, (Thu Apr 10, 5:43 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Wed Apr 9, 9:22 pm)
Re: 2.6.25-rc8: FTP transfer errors, Tilman Schmidt, (Thu Apr 10, 11:20 am)
Re: 2.6.25-rc8: FTP transfer errors, Jesper Juhl, (Thu Apr 10, 6:09 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Thu Apr 10, 6:46 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Thu Apr 10, 8:16 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Thu Apr 10, 8:26 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Thu Apr 10, 8:29 pm)
Re: 2.6.25-rc8: FTP transfer errors, YOSHIFUJI Hideaki / , (Thu Apr 10, 10:59 pm)
Re: 2.6.25-rc8: FTP transfer errors, Pavel Emelyanov, (Fri Apr 11, 3:50 am)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Thu Apr 10, 8:24 pm)
Re: 2.6.25-rc8: FTP transfer errors, Tilman Schmidt, (Thu Apr 10, 8:56 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Thu Apr 10, 9:08 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Thu Apr 10, 8:27 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Thu Apr 10, 8:39 pm)
Re: about bisections, David Miller, (Tue Apr 15, 6:30 pm)
Re: about bisections, Ingo Molnar, (Tue Apr 15, 6:48 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Thu Apr 10, 9:23 pm)
Re: 2.6.25-rc8: FTP transfer errors, , (Fri Apr 11, 3:58 pm)
Re: 2.6.25-rc8: FTP transfer errors, Tilman Schmidt, (Fri Apr 11, 6:27 pm)
Reporting bugs and bisection (was: Re: 2.6.25-rc8: FTP trans..., Rafael J. Wysocki, (Sun Apr 13, 2:40 pm)
Re: Reporting bugs and bisection, Andi Kleen, (Mon Apr 14, 5:58 am)
Re: Reporting bugs and bisection, Willy Tarreau, (Mon Apr 14, 6:00 am)
Re: Reporting bugs and bisection, Andi Kleen, (Mon Apr 14, 6:16 am)
Re: Reporting bugs and bisection, Andi Kleen, (Mon Apr 14, 6:29 am)
Re: Reporting bugs and bisection, David Miller, (Sun Apr 13, 4:35 pm)
Re: Reporting bugs and bisection (was: Re: 2.6.25-rc8: FTP t..., Rafael J. Wysocki, (Sun Apr 13, 4:33 pm)
Re: Reporting bugs and bisection, Stephen Clark, (Sun Apr 13, 6:24 pm)
Re: Reporting bugs and bisection, Andi Kleen, (Mon Apr 14, 5:26 am)
Re: Reporting bugs and bisection, , (Sun Apr 13, 7:51 pm)
Re: Reporting bugs and bisection, Willy Tarreau, (Mon Apr 14, 12:39 am)
Re: Reporting bugs and bisection, Al Viro, (Mon Apr 14, 1:39 am)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 2:24 am)
Re: Reporting bugs and bisection, Rene Herman, (Mon Apr 14, 3:13 pm)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 4:38 pm)
Re: Reporting bugs and bisection, Rene Herman, (Mon Apr 14, 6:18 pm)
Re: Reporting bugs and bisection, Al Viro, (Mon Apr 14, 3:23 am)
Re: Reporting bugs and bisection, James Morris, (Mon Apr 14, 11:54 am)
Re: Reporting bugs and bisection, David Newall, (Tue Apr 15, 5:33 am)
Re: Reporting bugs and bisection, Sverre Rabbelier, (Wed Apr 16, 8:15 am)
Re: Reporting bugs and bisection, Jesper Juhl, (Wed Apr 16, 5:17 pm)
Re: Reporting bugs and bisection, David Newall, (Thu Apr 17, 1:04 pm)
Re: Reporting bugs and bisection, Rafael J. Wysocki, (Thu Apr 17, 3:09 pm)
Re: Reporting bugs and bisection, Ray Lee, (Thu Apr 17, 3:35 pm)
Re: Reporting bugs and bisection, Al Viro, (Thu Apr 17, 4:16 pm)
Re: Reporting bugs and bisection, Ray Lee, (Thu Apr 17, 4:38 pm)
Re: Reporting bugs and bisection, Al Viro, (Thu Apr 17, 4:53 pm)
Re: Reporting bugs and bisection, Ray Lee, (Thu Apr 17, 5:01 pm)
Re: Reporting bugs and bisection, Sverre Rabbelier, (Thu Apr 17, 3:57 pm)
Re: Reporting bugs and bisection, Adrian Bunk, (Wed Apr 16, 9:26 am)
Re: Reporting bugs and bisection, Willy Tarreau, (Wed Apr 16, 4:04 pm)
Re: Reporting bugs and bisection, Sverre Rabbelier, (Wed Apr 16, 3:39 pm)
Re: Reporting bugs and bisection, Adrian Bunk, (Wed Apr 16, 4:16 pm)
Re: Reporting bugs and bisection, Adrian Bunk, (Wed Apr 16, 4:53 pm)
Re: Reporting bugs and bisection, Sverre Rabbelier, (Wed Apr 16, 5:05 pm)
Re: Reporting bugs and bisection, Adrian Bunk, (Wed Apr 16, 5:25 pm)
Re: Reporting bugs and bisection, Andrew Morton, (Wed Apr 16, 3:02 pm)
Re: Reporting bugs and bisection, Alexey Dobriyan, (Wed Apr 16, 3:58 pm)
Re: Reporting bugs and bisection, Arjan van de Ven, (Wed Apr 16, 4:01 pm)
Re: Reporting bugs and bisection, Adrian Bunk, (Wed Apr 16, 3:55 pm)
Re: Reporting bugs and bisection, J. Bruce Fields, (Thu Apr 17, 9:50 am)
Re: Reporting bugs and bisection, Adrian Bunk, (Thu Apr 17, 11:26 am)
Re: Reporting bugs and bisection, Sverre Rabbelier, (Wed Apr 16, 3:43 pm)
Re: Reporting bugs and bisection, Michael Kerrisk, (Tue Apr 15, 5:54 am)
Re: Reporting bugs and bisection, David Newall, (Tue Apr 15, 10:04 am)
Re: Reporting bugs and bisection, Rafael J. Wysocki, (Tue Apr 15, 4:51 pm)
Re: Reporting bugs and bisection, David Newall, (Tue Apr 15, 10:34 pm)
Re: Reporting bugs and bisection, Willy Tarreau, (Wed Apr 16, 12:29 am)
Re: Reporting bugs and bisection, Rafael J. Wysocki, (Wed Apr 16, 8:13 am)
Re: Reporting bugs and bisection, , (Tue Apr 15, 11:53 pm)
Re: Reporting bugs and bisection, Stephen Clark, (Wed Apr 16, 8:41 am)
Re: Reporting bugs and bisection, David Newall, (Wed Apr 16, 5:06 am)
Re: Reporting bugs and bisection, Andi Kleen, (Wed Apr 16, 7:02 am)
Re: Reporting bugs and bisection, David Miller, (Mon Apr 14, 6:01 pm)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 7:05 pm)
Re: Reporting bugs and bisection, Willy Tarreau, (Tue Apr 15, 12:55 am)
Work WAS(Re: Reporting bugs and bisection, jamal, (Tue Apr 15, 9:18 am)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 4:04 am)
Re: Reporting bugs and bisection, Arjan van de Ven, (Mon Apr 14, 10:43 am)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 1:51 pm)
Re: Reporting bugs and bisection, Ilpo Järvinen, (Mon Apr 14, 3:30 pm)
Re: Reporting bugs and bisection, Arjan van de Ven, (Mon Apr 14, 2:24 pm)
Re: Reporting bugs and bisection, Adrian Bunk, (Mon Apr 14, 8:08 am)
Re: Reporting bugs and bisection, David Miller, (Mon Apr 14, 4:30 am)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 6:15 am)
Re: Reporting bugs and bisection, David Miller, (Mon Apr 14, 6:41 am)
Re: Reporting bugs and bisection, Roman Shaposhnik, (Mon Apr 14, 1:35 pm)
Re: Reporting bugs and bisection, Andi Kleen, (Mon Apr 14, 5:46 am)
Re: Reporting bugs and bisection, Bill Fink, (Tue Apr 15, 1:25 am)
Re: Reporting bugs and bisection, Christoph Hellwig, (Mon Apr 14, 5:06 am)
Re: Reporting bugs and bisection, Al Viro, (Mon Apr 14, 3:43 am)
Re: Reporting bugs and bisection, David Miller, (Mon Apr 14, 2:39 am)
Re: Reporting bugs and bisection, David Miller, (Mon Apr 14, 2:43 am)
Re: Reporting bugs and bisection, Jakub Narebski, (Sun Apr 13, 8:36 pm)
Re: Reporting bugs and bisection, Rafael J. Wysocki, (Sun Apr 13, 6:41 pm)
Re: Reporting bugs and bisection, David Miller, (Sun Apr 13, 3:47 pm)
Re: Reporting bugs and bisection (was: Re: 2.6.25-rc8: FTP t..., Rafael J. Wysocki, (Sun Apr 13, 3:27 pm)
Re: 2.6.25-rc8: FTP transfer errors, Ilpo Järvinen, (Fri Apr 11, 2:40 am)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Fri Apr 11, 9:19 am)
Re: 2.6.25-rc8: FTP transfer errors, Evgeniy Polyakov, (Fri Apr 11, 10:35 am)
Re: 2.6.25-rc8: FTP transfer errors, Tilman Schmidt, (Fri Apr 11, 6:16 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Fri Apr 11, 6:26 pm)
Re: 2.6.25-rc8: FTP transfer errors, Evgeniy Polyakov, (Fri Apr 11, 6:25 pm)
Re: 2.6.25-rc8: FTP transfer errors, Tilman Schmidt, (Fri Apr 11, 7:23 pm)
Re: 2.6.25-rc8: FTP transfer errors, Ilpo Järvinen, (Sat Apr 12, 3:06 am)
Re: 2.6.25-rc8: FTP transfer errors, Evgeniy Polyakov, (Sat Apr 12, 1:37 am)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Fri Apr 11, 6:27 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Fri Apr 11, 10:59 am)
Re: 2.6.25-rc8: FTP transfer errors, , (Fri Apr 11, 3:58 pm)
Re: 2.6.25-rc8: FTP transfer errors, Evgeniy Polyakov, (Fri Apr 11, 11:18 am)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Fri Apr 11, 2:07 pm)
Re: 2.6.25-rc8: FTP transfer errors, Willy Tarreau, (Sat Apr 12, 4:44 am)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Sat Apr 12, 5:49 am)
Re: 2.6.25-rc8: FTP transfer errors, Rafael J. Wysocki, (Sun Apr 13, 2:15 pm)
Re: 2.6.25-rc8: FTP transfer errors, Sergio Luis, (Sun Apr 13, 2:51 pm)
Re: 2.6.25-rc8: FTP transfer errors, Rafael J. Wysocki, (Sun Apr 13, 3:24 pm)
Re: 2.6.25-rc8: FTP transfer errors, Evgeniy Polyakov, (Fri Apr 11, 5:29 pm)
Re: 2.6.25-rc8: FTP transfer errors, Charlie Brady, (Thu Apr 10, 6:52 pm)
Re: 2.6.25-rc8: FTP transfer errors, Jesper Juhl, (Thu Apr 10, 7:02 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Thu Apr 10, 7:05 pm)
Re: 2.6.25-rc8: FTP transfer errors, vincent-perrier, (Thu Apr 10, 7:10 pm)
Re: 2.6.25-rc8: FTP transfer errors, Jesper Juhl, (Thu Apr 10, 7:39 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Thu Apr 10, 7:14 pm)
Re: 2.6.25-rc8: FTP transfer errors, vincent-perrier, (Thu Apr 10, 7:32 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Thu Apr 10, 7:41 pm)
Re: 2.6.25-rc8: FTP transfer errors, vincent-perrier, (Thu Apr 10, 7:51 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Thu Apr 10, 11:07 am)
Re: 2.6.25-rc8: FTP transfer errors, Harvey Harrison, (Wed Apr 9, 8:37 pm)
Re: 2.6.25-rc8: FTP transfer errors, Gerhard Mack, (Thu Apr 10, 9:52 am)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Thu Apr 10, 11:15 am)
Re: 2.6.25-rc8: FTP transfer errors, Gerhard Mack, (Thu Apr 10, 11:58 am)
Regression: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Wed Apr 9, 10:06 am)