|
From: | Paolo Bonzini |
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 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |