Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757980Ab1COOhQ (ORCPT ); Tue, 15 Mar 2011 10:37:16 -0400 Received: from fieldses.org ([174.143.236.118]:46830 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757404Ab1COOhO (ORCPT ); Tue, 15 Mar 2011 10:37:14 -0400 Date: Tue, 15 Mar 2011 10:37:08 -0400 From: "J. Bruce Fields" To: Steven Rostedt Cc: david@lang.hm, Ben Hutchings , David Miller , torvalds@linux-foundation.org, akpm@linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [GIT] Networking Message-ID: <20110315143708.GB31746@fieldses.org> 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> <1300193560.9910.265.camel@gandalf.stny.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1300193560.9910.265.camel@gandalf.stny.rr.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2206 Lines: 65 On Tue, Mar 15, 2011 at 08:52:40AM -0400, Steven Rostedt wrote: > 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. I suppose you'd test the intermediate ("bad") area by merging in "fix for bug" instead of cherry-picking it. In theory perhaps that would give the bisect algorithm a little more information. (Since it's seeing the same "fix for bug" commit each time.) > 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. No real change there: you still won't want to send in a pull request every time you fix a bug, so you'd pull a bunch together, merge them (and maybe a test merge with upstream to make sure it's reasonable), then send a pull request for the result. I dunno, I have no strong opinions here, just curiosity. --b. -- 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/