From owner-cvs-src@FreeBSD.ORG Fri Dec 28 07:55:27 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 218FC16A417; Fri, 28 Dec 2007 07:55:27 +0000 (UTC) (envelope-from jasone@freebsd.org) Received: from canonware.com (canonware.com [64.183.146.166]) by mx1.freebsd.org (Postfix) with ESMTP id DD8B313C459; Fri, 28 Dec 2007 07:55:26 +0000 (UTC) (envelope-from jasone@freebsd.org) Received: from [192.168.168.201] (unknown [192.168.168.201]) by canonware.com (Postfix) with ESMTP id EB3FE1298D6; Thu, 27 Dec 2007 23:29:50 -0800 (PST) Message-ID: <4774A5EC.7030801@freebsd.org> Date: Thu, 27 Dec 2007 23:29:48 -0800 From: Jason Evans User-Agent: Thunderbird 1.5.0.12 (X11/20071018) MIME-Version: 1.0 To: cvs-all@FreeBSD.org References: <200712280724.lBS7OKcF001948@repoman.freebsd.org> In-Reply-To: <200712280724.lBS7OKcF001948@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/stdlib malloc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2007 07:55:27 -0000 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