Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2002 15:09:35 -0800
From:      Peter Wemm <peter@wemm.org>
To:        obrien@freebsd.org
Cc:        Murray Stokely <murray@freebsd.org>, re@freebsd.org, Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 8258 for review 
Message-ID:  <20020323230935.C33463808@overcee.wemm.org>
In-Reply-To: <20020323122442.B158@dragon.nuxi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
"David O'Brien" wrote:
> On Sat, Mar 23, 2002 at 06:40:59AM -0800, Murray Stokely wrote:
> > http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8258
> > 
> > Change 8258 by murray@murray_builder on 2002/03/23 06:40:09
> > 
> > 	Revert r1.51, which turned on the AJ debugging options.
> > 	Suggested by: peter, rwatson, others
> 
> I am VERY AGAINST this change.  What is the purpose of the DP then, if we
> are turning off all the debugging?  Remember part of this was to get
> current into more situations to improve testing coverage.  You are no
> longer producing something that is like -current.

How about a compromise?  instead of having it embedded in libc, set the
/etc/malloc.conf symlink to AJ at install time instead?  That is where
most of the 4.x users are going to look first.  DP1 is not aimed so much
at -current users, but getting 4.x users to have a look etc.

And then have something like this at the tail end of /etc/rc:

diff -u -r1.304 rc
--- rc  22 Mar 2002 23:45:13 -0000      1.304
+++ rc  23 Mar 2002 23:08:47 -0000
@@ -940,6 +940,12 @@
        ;;
 esac
 
+if [ -L /etc/malloc.conf ]
+then
+       echo "WARNING: malloc(3) debugging options set, expect a slowdown!"
+       echo "WARNING: see /etc/malloc.conf and 'man 3 malloc'"
+fi
+
 echo ''
 
 date

Cheers,
-Peter
--
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-releng" in the body of the message




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