From owner-freebsd-arch Tue Jan 21 21:12:14 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A253537B401 for ; Tue, 21 Jan 2003 21:12:12 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id B306543EB2 for ; Tue, 21 Jan 2003 21:12:10 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.6/8.12.3) with ESMTP id h0M5Bv1e089458; Tue, 21 Jan 2003 22:11:58 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 21 Jan 2003 22:11:40 -0700 (MST) Message-Id: <20030121.221140.78708845.imp@bsdimp.com> To: dillon@apollo.backplane.com Cc: bright@mu.org, sam@errno.com, arch@FreeBSD.ORG Subject: Re: Alfre's malloc changes: the next step From: "M. Warner Losh" In-Reply-To: <200301220448.h0M4mvMh000621@apollo.backplane.com> References: <20030122002340.GK42333@elvis.mu.org> <20030121.192436.65876718.imp@bsdimp.com> <200301220448.h0M4mvMh000621@apollo.backplane.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <200301220448.h0M4mvMh000621@apollo.backplane.com> Matthew Dillon writes: : has been misused so often that we really have to make it explicit. But : we shouldn't panic in this case, instead we should printf() (else third : party modules may create unecessary crashes for the next couple of years). This is actually better than my original idea (which seems to have been misunderstood). My original idea was to have the extra checks only if INVARIANTS was set. However, I like the idea of having a printf like we do now with LOR and the sleep warnings better (maybe with the option to drop into the debugger/panic like the witness stuff does). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message