Re: [Qemu-block] [PATCH] nbd: switch from g_slice allocator to malloc

2015-10-06 Thread Stefan Hajnoczi
On Thu, Oct 01, 2015 at 01:04:41PM +0200, Paolo Bonzini wrote: > Simplify memory allocation by sticking with a single API. GSlice > is not that fast anyway (tcmalloc/jemalloc are better). > > Signed-off-by: Paolo Bonzini > --- > nbd.c | 4 ++-- > 1 file changed, 2

[Qemu-block] [PATCH] nbd: switch from g_slice allocator to malloc

2015-10-01 Thread Paolo Bonzini
Simplify memory allocation by sticking with a single API. GSlice is not that fast anyway (tcmalloc/jemalloc are better). Signed-off-by: Paolo Bonzini --- nbd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nbd.c b/nbd.c index 07240bd..74859cb