|
Subject: Re: Reporting bugs and bisection Newsgroups: gmane.linux.kernel, gmane.comp.version-control.git, gmane.linux.network Date: 2008-04-14 08:04:12 GMT (1 year, 11 weeks, 4 days, 3 hours and 54 minutes ago) On Mon, 14 Apr 2008 08:23:28 +0100 Al Viro <viro <at> ZenIV.linux.org.uk> wrote: > On Sun, Apr 13, 2008 at 11:24:41PM -0700, Andrew Morton wrote: > > > No. The problem we're discussing here is the apparently-large number of > > bugs which are in the kernel, the apparently-large number of new bugs which > > we're adding to the kernel, and our apparent tardiness in addressing them. > > > > Do you agree with these impressions, or not? > > > > If you do agree, what would you propose we do about it? > > In addition to obvious "we need testing and something better than bugzilla > to keep track of bugs"? Swapping out bugzilla for something else wouldn't help. We'd end up with lots of people ignoring a good bug tracking system just like they were ignoring a bad one. (And I don't think developers and maintainers _should_ spend time mucking in bug-tracking systems. They should have helpers who do all the triaging/tracking/routing/closing work for them, and then provide other developers with the results, letting them know what they should be spending time on. But there's a manpower problem). > 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 |
|
|