qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] virtio-blk: Avoid zeroing every request struct


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] virtio-blk: Avoid zeroing every request structure
Date: Tue, 18 May 2010 20:02:30 +0100

On Tue, May 18, 2010 at 5:37 PM, Corentin Chary
<address@hidden> wrote:
> Did you try to profile using calloc in qemu_mallocz instead of malloc + 
> memset ?

No, I didn't try it.  I don't see how it could perform on par with not
clearing memory at all.  Something is going to have to clear that
memory when using memset() or calloc().  Either libc or the kernel (if
using mmap).

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]