Re: Shutdown and Reboot Regression 2.6.25-rc[78]

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bongani Hlope <bonganilinux@...>
Cc: Andrew Morton <akpm@...>, Rafael J. Wysocki <rjw@...>, LKML <linux-kernel@...>
Date: Friday, April 11, 2008 - 7:12 pm

On Fri, 11 Apr 2008, Bongani Hlope wrote:

Ok, I suspect it may be timing-dependent and slightly random.

Sadly, that is absolutely the case where "git bisect" works the worst. The 
end result of bisection will basically be _totally_ random if even one of 
the "git bisect bad/good" choises were wrong - doing a binary search is 
a very efficient way to find the buggy commit, but it also means that a 
single wrong turn will efficiently find a commit that is somewhere totally 
different.

So if your shutdown/reboot regression is even slightly non-deterministic, 
it makes "git bisect" rather less powerful (you can still do bisection, 
but you just need to be extra careful and probably try multiple shutdowns 
with a suspect kernel just to be absolutely sure you mark a kernel good 
only if you're *really* sure it's good. Marking a kernel bad is much 
safer, since you'd presumably only do that when you have actually seen the 
bug in action)..

Of course, even when you're really really careful, if it really is 
timing-dependent, the bug may show up with a unrelated commit just because 
it changes timing. Those kinds of bugs tend to be fairly rare, but they do 
occasionally happen.

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

Messages in current thread:
Shutdown and Reboot Regression 2.6.25-rc[78], Bongani Hlope, (Fri Apr 11, 4:41 pm)
Re: Shutdown and Reboot Regression 2.6.25-rc[78], Alexey Dobriyan, (Fri Apr 11, 5:42 pm)
Re: Shutdown and Reboot Regression 2.6.25-rc[78], Bongani Hlope, (Sat Apr 12, 3:05 am)
Re: Shutdown and Reboot Regression 2.6.25-rc[78], Linus Torvalds, (Mon Apr 14, 11:08 am)
Re: Shutdown and Reboot Regression 2.6.25-rc[78], Linus Torvalds, (Mon Apr 14, 11:09 am)
Re: Shutdown and Reboot Regression 2.6.25-rc[78], Bongani Hlope, (Tue Apr 15, 3:50 pm)
Re: Shutdown and Reboot Regression 2.6.25-rc[78], Linus Torvalds, (Fri Apr 11, 4:58 pm)
Re: Shutdown and Reboot Regression 2.6.25-rc[78], Bongani Hlope, (Fri Apr 11, 5:42 pm)
Re: Shutdown and Reboot Regression 2.6.25-rc[78], Linus Torvalds, (Fri Apr 11, 7:12 pm)
Re: Shutdown and Reboot Regression 2.6.25-rc[78], Bongani Hlope, (Sat Apr 12, 3:04 am)