From owner-freebsd-current Wed Mar 22 16:14:46 2000 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id AAAD837C379; Wed, 22 Mar 2000 16:14:42 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id QAA94423; Wed, 22 Mar 2000 16:14:40 -0800 (PST) (envelope-from dillon) Date: Wed, 22 Mar 2000 16:14:40 -0800 (PST) From: Matthew Dillon Message-Id: <200003230014.QAA94423@apollo.backplane.com> To: Doug Barton Cc: Poul-Henning Kamp , Paul Richards , Stephen Hocking-Senior Programmer PGS SPS Perth , current@FreeBSD.ORG, poul@FreeBSD.ORG Subject: Re: Another current crash (cvs-cur.6183 References: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :On Wed, 22 Mar 2000, Poul-Henning Kamp wrote: : :> But it might actually make a lot of sense to make INVARIANTS the :> default this early in the -CURRENT cycle, protests ? : : What kind of overhead does it add? The warning messages in LINT :look rather dire to me, but I'm interested in knowing the facts.. : :Doug The overhead is minimal. INVARIANTS was originally put in because DIAGNOSTIC was being too nasty to the system. So nasty, in fact, that it could crash the system all by itself in certain situations. You can think of INVARIANTS as a light-weight non-intrusive version of DIAGNOSTIC. Frankly, I have INVARIANTS (and INVARIANT_SUPPORT) turned on by default on all of my kernels. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message