All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Avi Kivity <avi@redhat.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	KVM list <kvm@vger.kernel.org>,
	Marcelo Tosatti <mtosatti@redhat.com>,
	Paul Mackerras <paulus@au1.ibm.com>,
	Alexander Graf <agraf@suse.de>
Subject: Re: [GIT PULL] KVM updates for the 3.4 merge window
Date: Mon, 26 Mar 2012 18:21:01 +0200	[thread overview]
Message-ID: <20120326162101.GA524@gmail.com> (raw)
In-Reply-To: <4F703F5E.8030700@redhat.com>


* Avi Kivity <avi@redhat.com> wrote:

> Say a fix comes in which needs to be mainlined during -rc.  So 
> I put it in some other branch, to be sent off to Linus in a 
> few days after maturing a little.  Meanwhile developers see an 
> incomplete tree, since that patch is not in it.
> 
> Once Linus pulls, I can merge it back (or even before, if I'm 
> reasonably certain it's not going to change), but it leaves a 
> history of unneeded merges.  Or we can do throwaway merges 
> like tip.git.

We don't do throwaway merges in the -tip development branches 
themselves, i.e. in tip:sched/core, tip:perf/core, 
tip:timers/core, etc.

When a fix goes into tip:sched/urgent then until Linus merges it 
it's not in tip:sched/core. 99% of the fixes don't *have to* go 
into sched/core straight away.

In the odd case where there's some dependency, we can manually 
merge it into tip:sched/core ahead of Linus pulling into an -rc. 
Those rare merges are not a problem, and I explain the reason in 
the merge commit itself.

If you look at:

 gll v3.2..v3.3 | grep -E '/urgent.*/core'

you'll see that I only had to do it once in the previous cycle:

 d6c1c49de577 Merge branch 'perf/urgent' into perf/core

and the changelog explains the background:

Merge reason: Add these cherry-picked commits so that future changes
              on perf/core don't conflict.

it was a rare, oddball situation where we cherry-picked 
perf/core changes into perf/urgent. Extra merges are perfectly 
fine in that case.

The 'throwaway' tip:master branch you are probably referring to 
is basically just a testing branch, a convenient merged tree of 
the one dozen maintainer trees that are hosted in -tip. Since we 
don't want to force Linus's hand of him being able to reject 
individual trees we don't merge them properly - hence the 
integrated tree is a throwaway tree in theory.

In practice I tend to throw it away only once per cycle, around 
-rc1, once all pending trees went to Linus. tip:master is not 
used for any Git based contribution work - it's for testing, 
it's for people who want to work with patches - the commits 
themselves always go into persistent non-rebasing, append-only 
Git trees.

If we mess up bisectability we do a delta fix. When choosing 
between somewhat better bisectability and a proper history that 
others can rely on then proper history wins hands down.

Thanks,

	Ingo

  reply	other threads:[~2012-03-26 16:21 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-20 14:08 [GIT PULL] KVM updates for the 3.4 merge window Avi Kivity
2012-03-23  0:10 ` Benjamin Herrenschmidt
2012-03-23  3:15   ` Linus Torvalds
2012-03-25 10:09     ` Avi Kivity
2012-03-25 20:51       ` Benjamin Herrenschmidt
2012-03-26 10:05         ` Avi Kivity
2012-03-26 16:21           ` Ingo Molnar [this message]
2012-03-27  7:31             ` Avi Kivity
2012-03-26 21:05           ` Benjamin Herrenschmidt
2012-03-26 21:38       ` Paul Mackerras
2012-03-27 10:09         ` Avi Kivity
2012-03-28  4:02           ` Benjamin Herrenschmidt
2012-03-28 19:41             ` Linus Torvalds
2012-03-30 12:01           ` Paul Mackerras
2012-04-01 12:38             ` Avi Kivity
2012-04-01 21:02               ` Benjamin Herrenschmidt
2012-04-02  9:06                 ` Avi Kivity
2012-04-02  9:46                   ` Benjamin Herrenschmidt
2012-04-16 12:47                     ` Alexander Graf
2012-04-16 12:53                       ` Avi Kivity
2012-04-16 13:05                         ` Alexander Graf
2012-04-16 23:05                         ` Benjamin Herrenschmidt
2012-04-17  7:20                           ` Avi Kivity
2012-04-17  9:34                             ` Alexander Graf
2012-04-17 10:25                               ` Avi Kivity
2012-04-01 22:45               ` Paul Mackerras
2012-04-02  9:07                 ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120326162101.GA524@gmail.com \
    --to=mingo@kernel.org \
    --cc=agraf@suse.de \
    --cc=avi@redhat.com \
    --cc=benh@kernel.crashing.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    --cc=paulus@au1.ibm.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.