Date: Fri, 28 Dec 2007 07:24:20 +0000 (UTC) From: Jason Evans <jasone@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <200712280724.lBS7OKcF001948@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712280724.lBS7OKcF001948>