Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2004 19:04:37 +0100
From:      Bruce Cran <bruce@cran.org.uk>
To:        "Daniel Eriksson" <daniel_k_eriksson@telia.com>
Cc:        current@freebsd.org
Subject:   Re: Optimizing Current
Message-ID:  <F0151368-D42D-11D8-8EA8-000D93ACEE20@cran.org.uk>
In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQAAAAm9E3P0QTk0u+OjqYv15G8wEAAAAA@telia.com>
References:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQAAAAm9E3P0QTk0u+OjqYv15G8wEAAAAA@telia.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

On 12 Jul 2004, at 17:49, Daniel Eriksson wrote:

> Bruce Cran wrote:
>
>> I think it's probably more about turning off malloc debugging
>> and using
>> a non-debug kernel.  To turn off malloc debugging, create a symlink
>> /etc/malloc.conf -> aj.   It's a broken link of course, but
>> it works -
>> see malloc(3) for more information.
>
> Is A and J turned on by default in CURRENT? I was under the impression 
> they
> were turned off by default if no symlink was present. Right or wrong?


 From the testing I've done, with no symlink present, printing out a 
malloc'd buffer results in a lot of 0xd0 s, while with a symlink 
pointing to 'aj' the memory was all 0s.   So it would seem that AJ is 
turned on by default in CURRENT.

--
Bruce Cran



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?F0151368-D42D-11D8-8EA8-000D93ACEE20>