Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757690Ab1COMwo (ORCPT ); Tue, 15 Mar 2011 08:52:44 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.124]:43957 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757659Ab1COMwn (ORCPT ); Tue, 15 Mar 2011 08:52:43 -0400 X-Authority-Analysis: v=1.1 cv=aqMe+0lCtaYvy4h0jyaoPGyq+DPF+P6rPG2xbekoY9Q= c=1 sm=0 a=Q9fys5e9bTEA:10 a=OPBmh+XkhLl+Enan7BmTLg==:17 a=BOWQLXdHDTadG2slJK8A:9 a=Be-3daMwsjd2Kji8mtwA:7 a=YN0TgvpO6v0UB0co-XpyUhpEoZYA:4 a=PUjeQqilurYA:10 a=OPBmh+XkhLl+Enan7BmTLg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 67.242.120.143 Subject: Re: [GIT] Networking From: Steven Rostedt To: david@lang.hm Cc: "J. Bruce Fields" , Ben Hutchings , David Miller , torvalds@linux-foundation.org, akpm@linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: References: <20110310.155556.48513201.davem@davemloft.net> <20110311204823.GB7906@fieldses.org> <20110311.130128.71121155.davem@davemloft.net> <1299878274.2814.8.camel@bwh-desktop> <20110311214209.GB9404@fieldses.org> <20110312040941.GA15526@home.goodmis.org> Content-Type: text/plain; charset="ISO-8859-15" Date: Tue, 15 Mar 2011 08:52:40 -0400 Message-ID: <1300193560.9910.265.camel@gandalf.stny.rr.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2061 Lines: 67 On Tue, 2011-03-15 at 00:20 -0700, david@lang.hm wrote: > > It really is meaningless to do so, as all you are doing is documenting > > what commit caused this bug, and producing more problems by branching > > off of the broken commit. It wont matter till it is merged, but then if > > there are a lot of simple bug fixes, then you will have a lot of single > > merges of branches that fix those bugs. > > what effect would this have on bisecting? if this helped people avoid > bisecting in between the bad commit and the fix for it, it may be worth > it. > But it wont, as the fix will still be brought in at a later time. It has nothing to do with being based off of the broken commit. A + + merged in fix B + \ | | | | | | Lots of | | stuff | | | | | | | + - fix for bug | / Bug commit + | A bisect will still be testing lots of stuff without that fix. And if it goes into the branch with the fix, we just brought the kernel way back in time from point A. Then if it goes back to point B, then we zoom back to the future and bounce the kernel all over the place. I see no gain for having a fixed based off of the bug that it fixes. Pros of doing this: 1) documents the point that things broke (can be done by commenting it in the change log too) 2) probably good for back porting (but Con 3 may out weigh this) Cons: 1) Adds many more branches and merges for no real good reason 2) Makes bisects even less linear than it already is 3) May cause more conflicts at the merge point as the broken code may have changed. Who will be doing the conflict resolutions? Linus? I doubt he would be happy with that, but he can speak for himself. -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/