qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Michael R. Hines" <mrhines@linux.vnet.ibm.com>
Cc: aliguori@us.ibm.com, quintela@redhat.com, qemu-devel@nongnu.org,
	owasserm@redhat.com, abali@us.ibm.com, mrhines@us.ibm.com,
	gokul@us.ibm.com, chegu_vinod@hp.com, knoel@redhat.com
Subject: Re: [Qemu-devel] [PATCH v10 14/14, resend] rdma: add setup time accounting to QMP statistics
Date: Mon, 24 Jun 2013 16:02:26 +0200	[thread overview]
Message-ID: <51C85172.7020400@redhat.com> (raw)
In-Reply-To: <51C84FC3.3060302@linux.vnet.ibm.com>

Il 24/06/2013 15:55, Michael R. Hines ha scritto:
>>>
>>> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
>> Please stop inventing Reviewed-by tags, or I will stop reviewing your
>> patches.
>>
>> Paolo
> 
> Inventing? I don't understand.
> 
> I accumulated all of those tags from everybody - copy and pasted
> directly from everyone when they gave them to me.\
> 
> What exactly is wrong here?

I didn't review this patch in particular, or at least it was changed
very heavily since I last reviewed it.

I certainly haven't reviewed this:

>>> +static void migrate_set_state(MigrationState *s, int old_state, int new_state)
>>>   {
>>> -    if (__sync_val_compare_and_swap(&s->state, MIG_STATE_ACTIVE,
>>> +    if (__sync_val_compare_and_swap(&s->state, old_state,
>>>                                       new_state) == new_state) { 

and I wouldn't have approved it in fact.  In this shape, the patch
should be split in at least 3 or 4 pieces.

In v9 I asked to not apply patch 14 of v9 (I don't remember if you had
already the R-b there); in v10 you rewrote patch 14 and I pointed out
that the Reviewed-by tag was coming out of thin air; now you resent the
series and left the wrong tag.  That's why I started to be a bit grumpy.

By now you must have learnt that I want changes outside migration-rdma.c
to be as a) minimal b) separate c) well-described as possible.

What is _exactly_ the reason why you're changing the state machine?
What is the change exactly, in fact?

Paolo

  reply	other threads:[~2013-06-24 14:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-24 13:46 [Qemu-devel] [PATCH v10 00/14, resend] rdma: migration support mrhines
2013-06-24 13:46 ` [Qemu-devel] [PATCH v10 01/14, resend] rdma: add documentation mrhines
2013-06-24 13:46 ` [Qemu-devel] [PATCH v10 02/14, resend] rdma: introduce qemu_update_position() mrhines
2013-06-24 13:46 ` [Qemu-devel] [PATCH v10 03/14, resend] rdma: export yield_until_fd_readable() mrhines
2013-06-24 13:46 ` [Qemu-devel] [PATCH v10 04/14, resend] rdma: export throughput w/ MigrationStats QMP mrhines
2013-06-24 13:46 ` [Qemu-devel] [PATCH v10 05/14, resend] rdma: introduce qemu_file_mode_is_not_valid() mrhines
2013-06-24 13:46 ` [Qemu-devel] [PATCH v10 06/14, resend] rdma: export qemu_fflush() mrhines
2013-06-24 13:46 ` [Qemu-devel] [PATCH v10 07/14, resend] rdma: introduce ram_handle_compressed() mrhines
2013-06-24 13:46 ` [Qemu-devel] [PATCH v10 08/14, resend] rdma: introduce qemu_ram_foreach_block() mrhines
2013-06-24 13:46 ` [Qemu-devel] [PATCH v10 09/14, resend] rdma: new QEMUFileOps hooks mrhines
2013-06-24 13:46 ` [Qemu-devel] [PATCH v10 10/14, resend] rdma: introduce capability x-rdma-pin-all mrhines
2013-06-24 13:46 ` [Qemu-devel] [PATCH v10 11/14, resend] rdma: core logic mrhines
2013-06-24 13:46 ` [Qemu-devel] [PATCH v10 12/14, resend] rdma: send pc.ram mrhines
2013-06-24 13:46 ` [Qemu-devel] [PATCH v10 13/14, resend] rdma: fix mlock() freezes and accounting mrhines
2013-06-24 13:46 ` [Qemu-devel] [PATCH v10 14/14, resend] rdma: add setup time accounting to QMP statistics mrhines
2013-06-24 13:51   ` Paolo Bonzini
2013-06-24 13:55     ` Michael R. Hines
2013-06-24 14:02       ` Paolo Bonzini [this message]
2013-06-24 17:18         ` Michael R. Hines
2013-06-24 14:41       ` Anthony Liguori
2013-06-24 21:28         ` Michael R. Hines

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=51C85172.7020400@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=abali@us.ibm.com \
    --cc=aliguori@us.ibm.com \
    --cc=chegu_vinod@hp.com \
    --cc=gokul@us.ibm.com \
    --cc=knoel@redhat.com \
    --cc=mrhines@linux.vnet.ibm.com \
    --cc=mrhines@us.ibm.com \
    --cc=owasserm@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    /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).