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

Jason Evans jasone at freebsd.org
Fri Dec 28 07:55:27 UTC 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
> 
> http://www.FreeBSD.org/cgi/cvsweb.cgi/src/lib/libc/stdlib/malloc.c.diff?&r1=1.156&r2=1.157&f=H

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.

Thanks,
Jason


More information about the cvs-all mailing list