From owner-freebsd-current@FreeBSD.ORG Mon Jul 12 18:04:39 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 8592116A4CE for ; Mon, 12 Jul 2004 18:04:39 +0000 (GMT) Received: from n082.sc1.cp.net (h36.rdg.cp.net [209.228.29.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5123143D3F for ; Mon, 12 Jul 2004 18:04:39 +0000 (GMT) (envelope-from bruce@cran.org.uk) Received: from [192.168.0.10] (82.2.88.183) by n082.sc1.cp.net (7.0.027.3-1) id 40DCD8AB002AD66D; Mon, 12 Jul 2004 18:04:38 +0000 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Bruce Cran Date: Mon, 12 Jul 2004 19:04:37 +0100 To: "Daniel Eriksson" X-Mailer: Apple Mail (2.618) cc: current@freebsd.org Subject: Re: Optimizing Current 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: Mon, 12 Jul 2004 18:04:39 -0000 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