All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Li, ZhenHua" <zhen-hual@hp.com>, Stefan Hajnoczi <stefanha@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/1] virtio-blk: Use a req pool instead of malloc/free
Date: Wed, 26 Mar 2014 11:26:21 +0100	[thread overview]
Message-ID: <5332AB4D.1090200@redhat.com> (raw)
In-Reply-To: <5332A50B.7000105@hp.com>

Il 26/03/2014 10:59, Li, ZhenHua ha scritto:
> Sorry I am confused .
>
> There are two ways now:
> 1. Just use g_slice_new to replace malloc/free.
> 2. Use a pool as a replacement of frequently create/destroy reqs. And
> when create the pool, use g_slice_new.
>
> Which are you meaning?

I think both I and Stefan mean (1).

Paolo

  reply	other threads:[~2014-03-26 10:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-26  2:02 [Qemu-trivial] [PATCH 1/1] virtio-blk: Use a req pool instead of malloc/free Li, Zhen-Hua
2014-03-26  2:02 ` [Qemu-devel] " Li, Zhen-Hua
2014-03-26  2:07 ` [Qemu-trivial] " Li, ZhenHua
2014-03-26  2:07   ` [Qemu-devel] " Li, ZhenHua
2014-03-26  9:55 ` [Qemu-trivial] " Paolo Bonzini
2014-03-26  9:55   ` [Qemu-devel] " Paolo Bonzini
2014-03-26  9:59   ` Li, ZhenHua
2014-03-26 10:26     ` Paolo Bonzini [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-03-25  8:44 Li, Zhen-Hua
2014-03-26  9:27 ` Stefan Hajnoczi
2014-03-26  9:54   ` Li, ZhenHua

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=5332AB4D.1090200@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    --cc=zhen-hual@hp.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 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.