All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juan Quintela <quintela@redhat.com>
To: Eric Auger <eric.auger@redhat.com>
Cc: peterx@redhat.com, qemu-devel@nongnu.org, dgilbert@redhat.com,
	eric.auger.pro@gmail.com
Subject: Re: [PATCH] migration: Simplify get_qlist
Date: Mon, 27 Jan 2020 12:48:27 +0100	[thread overview]
Message-ID: <87r1zl2k8k.fsf@secure.laptop> (raw)
In-Reply-To: <20200125172449.13175-1-eric.auger@redhat.com> (Eric Auger's message of "Sat, 25 Jan 2020 18:24:49 +0100")

Eric Auger <eric.auger@redhat.com> wrote:
> Instead of inserting read elements at the head and
> then reversing the list, it is simpler to add
> each element after the previous one. Introduce
> QLIST_RAW_INSERT_AFTER helper and use it in
> get_qlist().
>
> Signed-off-by: Eric Auger <eric.auger@redhat.com>
> Suggested-by: Juan Quintela <quintela@redhat.com>

Reviewed-by: Juan Quintela <quintela@redhat.com>

It wis really suggested by Dave, I just gave a sample implementation
O:-)

Later, Juan.



      reply	other threads:[~2020-01-27 11:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-25 17:24 [PATCH] migration: Simplify get_qlist Eric Auger
2020-01-27 11:48 ` Juan Quintela [this message]

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=87r1zl2k8k.fsf@secure.laptop \
    --to=quintela@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=eric.auger.pro@gmail.com \
    --cc=eric.auger@redhat.com \
    --cc=peterx@redhat.com \
    --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 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.