cvs commit: src/lib/libc/stdlib malloc.c

Jason Evans jasone at
Thu Dec 27 23:55:27 PST 2007

Jason Evans wrote:
> jasone      2007-12-28 07:24:20 UTC
>   FreeBSD src repository
>   Modified files:
>     lib/libc/stdlib      malloc.c 
>   Log:
>   Maintain two trees instead of one (old_chunks --> old_chunks_{ad,szad}) in
>   order to support re-use of multi-chunk unused regions within the DSS for
>   huge allocations.  This generalization is important to correct function
>   when mmap-based allocation is disabled.
>   Avoid zeroing re-used memory in the DSS unless it really needs to be
>   zeroed.
>   Revision  Changes    Path
>   1.157     +183 -113  src/lib/libc/stdlib/malloc.c

This commit was accidental (finger fumble while composing a commit 
message).  I have reason to think that the code may not be adequately 
stable.  In the short term, please avoid this version of malloc.  I'll 
clean up the mess one way or another before retiring for the night.


More information about the cvs-src mailing list