qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Avi Kivity <avi@redhat.com>
Cc: qemu-devel <qemu-devel@nongnu.org>, KVM list <kvm@vger.kernel.org>
Subject: [Qemu-devel] Merging invasive changes (Was Re: [PULL][v2] Memory API fix)
Date: Mon, 22 Aug 2011 12:16:50 -0500	[thread overview]
Message-ID: <4E528F02.4040302@codemonkey.ws> (raw)
In-Reply-To: <4E5289B0.9060705@redhat.com>

Hi,

This is a summary from a discussion Avi and I had earlier about merging 
invasive changes (like the memory API) into the tree in a more fluid 
fashion.  Here's my suggestions:

- Invasive changes over a long period of time (multi batches) should be 
done via git pull.  patch (and therefore git-am) sucks at resolving 
conflicts which are a given for these types of changes.  git-merge is 
much better at this.

- Pull requests should be prefixed with '[PULL]'.

- Patches should go to the ML as often as they are created.  Small sets 
of patches can depend on each other.  Don't dump 40 patches and then 
submit a pull request the next day.

- Pull requests should be batched in a 1-2 week period after having 
received reviews or sufficient time to be reviewed.  If it's something 
that really needs review, make sure it gets review before doing the pull 
request.   Good judgement is required here.  Batching is important to 
avoid breaking the tree daily.  Exceptions will happen and that's okay, 
but they should be exceptions.

- Patches destined for a subsystem should be prefixed with a subsystem 
marker.  For instance, '[PATCH] block: fix QED blah blah'.  If I see the 
prefix for a known maintained subsystem, I will delete the patch from my 
own queue.

- Subsystems are 'known maintained' by having an entry in MAINTAINERS 
and by having a responsive maintainer.

- Invasive, but mechanical changes shouldn't be overly split.  60 four 
line patches that makes the same pattern of change are harder to review 
than 6 forty line patches that apply the same pattern repeatedly.

- Non-mechanical changes should be split of course based on logical 
functional areas.

Regards,

Anthony Liguori

On 08/22/2011 11:54 AM, Avi Kivity wrote:
> [v2: fix git url...]
>
> Anthony, please pull from:
>
> git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/core
>
> to receive a memory API fix. The fix is not required for any of the
> already merged patches, but is needed by other patches in my queue.
>
> I am sending core patches separately than the conversions to increase
> their visibility.
>
>
> (and I'll take this opportunity to announce a new layout for the branch:
>
> - memory/core - core fixes, usually not rebased
> - memory/batch - pending batch
> - memory/queue - the rest of the patches in my queue
> - memory/master - a merge of the first three; please post patches based
> on this branch
>
> this will allow me to fast-path core fixes without rebasing
> memory/batch, except when a dependency is involved.)
>
> Richard Henderson (1):
> memory: Fix old_portio vs non-zero offset
>
> memory.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>

  reply	other threads:[~2011-08-22 17:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-22 16:54 [Qemu-devel] [PULL][v2] Memory API fix Avi Kivity
2011-08-22 17:16 ` Anthony Liguori [this message]
2011-08-22 17:29 ` Anthony Liguori

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=4E528F02.4040302@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).