From owner-freebsd-current@FreeBSD.ORG Sat Dec 9 22:50:09 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9543716A511 for ; Sat, 9 Dec 2006 22:50:09 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 44E9C43DA9 for ; Sat, 9 Dec 2006 22:48:31 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 21425 invoked by uid 399); 9 Dec 2006 22:49:20 -0000 Received: from localhost (HELO ?192.168.0.5?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 9 Dec 2006 22:49:20 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <457B3D6E.5080207@FreeBSD.org> Date: Sat, 09 Dec 2006 14:49:18 -0800 From: Doug Barton Organization: http://www.freebsd.org/ User-Agent: Thunderbird 1.5.0.8 (X11/20061125) MIME-Version: 1.0 To: David Stanford References: <4579EB08.8080704@intersonic.se> <457A3B9B.5000304@datalinktech.com.au> <457B352A.1040202@datalinktech.com.au> In-Reply-To: X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, davidn@datalinktech.com.au Subject: Re: Am I an Idiot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 09 Dec 2006 22:50:09 -0000 David Stanford wrote: > On 12/9/06, David Nugent wrote: >> >> David Stanford wrote: >> > This is a somewhat OT question, but what needs to be done to turn off >> > the on-by-default debugging features when running -CURRENT? >> Don't use WITNESS, INVARIANTS and associated options in your kernel >> configuration. These enable the debugging features. >> > > It was my assumption to simply remove this entire section to disable > debugging: > > ===================== > # Debugging for use in -current These don't really hurt performance > options KDB # Enable kernel debugger support. > options DDB # Support DDB. This one isn't necessary if you're not debugging remotely in any case > options GDB # Support remote GDB. These do hurt performance > options INVARIANTS # Enable calls of extra sanity > checking > options INVARIANT_SUPPORT # Extra sanity checks of internal > structures, required by INVARIANTS > options WITNESS # Enable checks to detect deadlocks > and cycles > options WITNESS_SKIPSPIN # Don't run witness on spinlocks hth, Doug -- This .signature sanitized for your protection