In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes
:
>Can someone email me with a brief explaination of this M_ZERO path?
>I see it is about something to do with memory (malloc, bcopy, etc.)
>
> Thanks Jessem.
Since a majority of malloc(9) uses immediately bzero(9) the allocation,
I added an flag to malloc(9) so one can ask for a zero'ed allocation.
This saves a couple hundred calls to bzero(9), improves cache-locality
and generally improves code readability as a result.
It will also allow us to operate a "idle-time-malloc(9)- zeroing-daemon"
later.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message