[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071113181034.4ed733fa.akpm@linux-foundation.org>
Date: Tue, 13 Nov 2007 18:10:34 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Stephen Hemminger <shemminger@...ux-foundation.org>
Cc: Chuck Ebbert <cebbert@...hat.com>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Adrian Bunk <bunk@...nel.org>, Mark Lord <liml@....ca>,
Ingo Molnar <mingo@...e.hu>,
David Miller <davem@...emloft.net>, protasnb@...il.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
alsa-devel@...a-project.org, linux-ide@...r.kernel.org,
linux-pcmcia@...ts.infradead.org,
linux-input@...ey.karlin.mff.cuni.cz,
bugme-daemon@...zilla.kernel.org
Subject: Re: [BUG] New Kernel Bugs
On Tue, 13 Nov 2007 17:11:36 -0800 Stephen Hemminger <shemminger@...ux-foundation.org> wrote:
> On Tue, 13 Nov 2007 19:52:17 -0500
> Chuck Ebbert <cebbert@...hat.com> wrote:
>
> > On 11/13/2007 04:12 PM, Alan Cox wrote:
> > >> Bug fixing is not about finding someone to blame, it's about getting the
> > >> bug fixed.
> > >
> > > Partly - its also about understanding why the bug occurred and making it
> > > not happen again.
> >
> > Very few people think about that part.
>
> Why does the kernel have very few useful tests?
Tests would of course be nice, but they aren't very useful(!)
Looking at this list which Natalie has generated I see around thirty which
are dependent on the right hardware and ten which are not. This ratio is
typical, I think. In fact I'd say that more than 75% of reported bugs are
dependent on hardware.
So the best test of all for the kernel is "run it on a different machine".
This is why we are sooooo dependent upon our volunteer testers/reporters to
be able to do kernel development.
> Lack of interest? resources? expertise?
> Ideally each new feature would just be a small add on to an existing test.
Sure. For system-call-visible features it would be good to do that.
But this tends not to be where bugs get exposed. Because the original
developer can 100% exercise such code. That isn't the case with
driver/arch/platform changes.
> Unlike developing new features which seems to grow well with more developers.
> Bug fixing also seems to be a scarcity process. There often seems to be
> a very few people that understand the problem well enough or have the necessary
> hardware to reproduce and fix the problem.
We're 100% dead if "having the hardware" is a prerequisite to fixing a bug.
The terminal state there is that the kernel runs on about 200 machines
worldwide. We have to work with reporters via email to fix these sorts of
things. As we of course do.
> Recent changes like tickless and scheduler rework were well thought out and caused
> very little impact to 90% of the users. The problem is the 10% who do have problems.
> Worse, the developers often only hear about the a small sample of those.
Yes. An unknown number of people just shrug and go back to an old kernel.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists