On Tue, May 18, 2010 at 5:37 PM, Corentin Chary <corentin.ch...@gmail.com> 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