From owner-cvs-all Tue Sep 5 20: 8: 6 2000 Delivered-To: cvs-all@freebsd.org Received: from rjk191.rh.psu.edu (RJK191.rh.psu.edu [128.118.207.215]) by hub.freebsd.org (Postfix) with ESMTP id 1EDEA37B423 for ; Tue, 5 Sep 2000 20:08:03 -0700 (PDT) Received: (from ray@localhost) by rjk191.rh.psu.edu (8.11.0/8.11.0) id e86382W01170 for cvs-all@FreeBSD.ORG; Tue, 5 Sep 2000 23:08:02 -0400 (EDT) (envelope-from ray) Date: Tue, 5 Sep 2000 23:08:02 -0400 From: Ray Kohler To: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern init_main.c kern_exec.c kern_exit.ckern_fork.c kern_proc.c kern_prot.c kern_resource.c uipc_socket.cuipc_socket2.c uipc_usrreq.c vfs_aio.c src/sys/sys proc.hresourcevar.h ucred.h Message-ID: <20000905230802.A1156@rjk191.rh.psu.edu> Reply-To: rjk191@psu.edu References: <200009052211.PAA70424@freefall.freebsd.org> <39B581FE.7E78128B@netsynergy.co.uk> <200009060222.TAA26628@salsa.gv.tsc.tdk.com> <39B5AB9D.63C8938C@netsynergy.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <39B5AB9D.63C8938C@netsynergy.co.uk>; from paul@netsynergy.co.uk on Wed, Sep 06, 2000 at 03:27:41AM +0100 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Sep 06, 2000 at 03:27:41AM +0100, Paul Richards wrote: > Don Lewis wrote: > > Maybe the -current version of GENERIC should enable INVARIANTS, for > > the same reason that we crank up malloc debugging. We should probably > > also have tuneable levels of sanity checking and have an easy way to > > tune the level at which each sanity check is activated without requiring > > a lot of change to the source. > > I have long advocated enabling INVARIANTS on the current branch. I enable INVARIANTS in every kernel I build, even -stable ones. The performance hit is so small and the sanity checking is so valuable I don't even give it a second thought. -- Ray Kohler FreeBSD -- The Power to Serve Paul's Law: In America, it's not how much an item costs, it's how much you save. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message