Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2004 09:27:34 -0700
From:      Ted Faber <faber@ISI.EDU>
To:        Daniel Eriksson <daniel_k_eriksson@telia.com>
Cc:        'freebsd current' <current@freebsd.org>
Subject:   Re: malloc in the slow lane
Message-ID:  <20040729162734.GG38825@pun.isi.edu>
In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQAAAAA8G%2BXtvg4UCAz17GSc8SYAEAAAAA@telia.com>
References:  <20040729093527.GD92949@eddie.nitro.dk> <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQAAAAA8G%2BXtvg4UCAz17GSc8SYAEAAAAA@telia.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--dWYAkE0V1FpFQHQ3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Jul 29, 2004 at 11:43:00AM +0200, Daniel Eriksson wrote:
> Simon L. Nielsen wrote:
> 
> > malloc in -CURRENT has some debug flags enabled by default (can't
> > remember which).  See malloc(3) on how to disable the debug flags.
> 
> The A and J flags are enabled by default (afaik). To disable them, do this:
> 
> ln -s aj /etc/malloc.conf

Is this information just stored anecdotally?  I looked at the malloc man
page and /usr/src/UPDATING , and while UPDATING has a mention that some
malloc flags are on, I can't seem to determine which ones they
are.

Am I looking in the wrong places?

If not, should this be documented? (Or perhaps, the flags set in
/etc/malloc.conf as the man page indicates?)

Or am I just being a weenie?

I'm happy to write the text for the man page, but I honestly don't know
the facts.

-- 
Ted Faber
http://www.isi.edu/~faber           PGP: http://www.isi.edu/~faber/pubkeys.asc
Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG 

--dWYAkE0V1FpFQHQ3
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBCSV2aUz3f+Zf+XsRAlnoAKCcE0SVg5svFoYsh+NLZg6whbo2WwCgjDIz
qdWWJb2VX9e4RrSGIHaEkjE=
=BkeM
-----END PGP SIGNATURE-----

--dWYAkE0V1FpFQHQ3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040729162734.GG38825>