❦ 24 juillet 2013 11:07 CEST, Willy Tarreau <[email protected]> :
> Indeed. I have no idea why we're observing these differences, and I
> don't know if the libc uses heuristics to decide to memset() the
> area or not.
Unless there is an alternative malloc hooked, the libc heavily relies on
the fact that the kernel will force to zero the memory it allocates
through mmap. However, when recycling, it will memset the area.
--
Don't over-comment.
- The Elements of Programming Style (Kernighan & Plauger)