From owner-freebsd-stable@FreeBSD.ORG Sat May 13 16:03:39 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42DCE16A403 for ; Sat, 13 May 2006 16:03:39 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0BF943D48 for ; Sat, 13 May 2006 16:03:38 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id 0E9C0168; Sat, 13 May 2006 11:03:38 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 3EAB561C2B; Sat, 13 May 2006 11:03:37 -0500 (CDT) Date: Sat, 13 May 2006 11:03:37 -0500 From: "Matthew D. Fuller" To: Kris Kennaway Message-ID: <20060513160337.GG3874@over-yonder.net> References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> <20060428122448.K57436@atlantis.atlantis.dp.ua> <20060428182818.GA10410@xor.obsecurity.org> <20060512161836.R75964@atlantis.atlantis.dp.ua> <20060513020051.GB18438@xor.obsecurity.org> <20060513084236.W74146@atlantis.atlantis.dp.ua> <20060513143740.GA46313@xor.obsecurity.org> <20060513155232.GF3874@over-yonder.net> <20060513155826.GA47324@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060513155826.GA47324@xor.obsecurity.org> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Cc: freebsd-stable@FreeBSD.org Subject: Re: INVARIANTS (was Re: RELENG_4 -> 5 -> 6: significant performance regression) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2006 16:03:39 -0000 On Sat, May 13, 2006 at 11:58:26AM -0400 I heard the voice of Kris Kennaway, and lo! it spake thus: > > FYI, INVARIANTS adds checks but does not (is not supposed to) divert > code paths. It does at least in UMA; it does a lot of bzero()/NULL'ing out of memory, which might hide later uninitialized-use bugs that could bite you without it (and, of course, probably burns a fair chunk of CPU to do it ;). I know I've heard other cases over the past 5 years or so; that's the only one I've heard recently or can check, but I wouldn't be too surprised if there were others. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.