From owner-freebsd-current@FreeBSD.ORG Thu Jul 29 16:28:03 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 484F416A4CE for ; Thu, 29 Jul 2004 16:28:03 +0000 (GMT) Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2041743D5A for ; Thu, 29 Jul 2004 16:28:03 +0000 (GMT) (envelope-from faber@ISI.EDU) Received: from pun.isi.edu (pun.isi.edu [128.9.160.150]) by boreas.isi.edu (8.11.6p2+0917/8.11.2) with ESMTP id i6TGRYJ00665; Thu, 29 Jul 2004 09:27:34 -0700 (PDT) Received: from pun.isi.edu (localhost [127.0.0.1]) by pun.isi.edu (8.12.11/8.12.11) with ESMTP id i6TGRYYL040085; Thu, 29 Jul 2004 09:27:34 -0700 (PDT) (envelope-from faber@pun.isi.edu) Received: (from faber@localhost) by pun.isi.edu (8.12.11/8.12.11/Submit) id i6TGRYLr040084; Thu, 29 Jul 2004 09:27:34 -0700 (PDT) (envelope-from faber) Date: Thu, 29 Jul 2004 09:27:34 -0700 From: Ted Faber To: Daniel Eriksson Message-ID: <20040729162734.GG38825@pun.isi.edu> References: <20040729093527.GD92949@eddie.nitro.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dWYAkE0V1FpFQHQ3" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-url: http://www.isi.edu/~faber X-ISI-4-30-3-MailScanner: Found to be clean X-MailScanner-From: faber@isi.edu cc: 'freebsd current' Subject: Re: malloc in the slow lane X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2004 16:28:03 -0000 --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--