git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Linux 2.6.27-rc3: kernel BUG at mm/vmalloc.c - bisected

From
AMAndrew Morton <akpm@linux-foundation.org>
Date
Aug 22, 2008, 21:16 UTC
Message-ID
<20080822141651.fe16ed99.akpm@linux-foundation.org>
In-Reply-To
<7v7ia8ahgu.fsf@gitster.siamese.dyndns.org>

On Fri, 22 Aug 2008 14:05:21 -0700 Junio C Hamano <gitster@pobox.com> wrote:

Show 31 quoted lines
> Andrew Morton <akpm@linux-foundation.org> writes:
> 
> > On Fri, 22 Aug 2008 19:16:51 +0200
> > Petr Baudis <pasky@suse.cz> wrote:
> >
> >> On Fri, Aug 22, 2008 at 09:25:49AM -0700, Andrew Morton wrote:
> > ...
> >> > urgh, it's irritating when git-bisect directs you to a merge commit - it
> >> > hasn't done it for me for ages.
> >> 
> >> Hmm, but doesn't that happen only when it's actually really the merge
> >> commit that introduces the bug? Both parents of the merge commit were
> >> marked as good by the user, so...
> >
> > A merge commit doesn't contain any kernel changes?  It's the individual
> > commits (aka "patches") which were in that merge which broke stuff. 
> > Confused.
> >
> > We're trying to dive inside that merge commit to find out which of the
> > real commits caused the regression.
> 
> You may find neither parents were buggy, but the result of the merge is.
> 
> A trivial example is when one branch changes the semantics of an existing
> function and converts all the call sites to the updated semantics, while
> the other branch adds a new call site that still relies on the old
> behaviour of that function.  The merge most likely won't textually
> conflict, and neither git merge nor quilt patch would report conflicts,
> but the end result is that the new call site added by the latter branch
> now gets an unexpected outcome from the function and can misbehave.  You
> cannot blame the breakage to either branch for such a breakage.
Sure, but
a) whoever added a change like that without also causing the build to
   break is slappable and
b) there are now two commits (one in each branch) either one of
   which, when applied on top of the other branch will introduce the
   regression.
   That's useful infomation, but we don't know how to get
   git-bisect to give it to us.

It's pretty simple. If git-bisect tells us that the regression was introduced by a merge commit, we want to perform a bisection within that merge's individual commits.

Previous: Junio C HamanoNext: Jeff King
Message 10 of 12 in “Re: Linux 2.6.27-rc3: kernel BUG at mm/vmalloc.c - bisected”
  1. Andrew MortonAug 22, 2008
  2. Petr BaudisAug 22, 2008
  3. Andrew MortonAug 22, 2008
  4. Alan D. BrunelleAug 22, 2008
  5. Björn SteinbrinkAug 22, 2008
  6. Alan D. BrunelleAug 22, 2008
  7. Alan D. BrunelleAug 22, 2008
  8. Jeff KingAug 22, 2008
  9. Junio C HamanoAug 22, 2008
  10. Andrew MortonAug 22, 2008
  11. Jeff KingAug 22, 2008
  12. Björn SteinbrinkAug 22, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.