From owner-freebsd-current Thu Jul 11 16: 0:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BD2E37B400; Thu, 11 Jul 2002 16:00:32 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CA7343E4A; Thu, 11 Jul 2002 16:00:31 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020711230030.KKWV6023.sccrmhc02.attbi.com@InterJet.elischer.org>; Thu, 11 Jul 2002 23:00:30 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA48559; Thu, 11 Jul 2002 15:48:16 -0700 (PDT) Date: Thu, 11 Jul 2002 15:48:15 -0700 (PDT) From: Julian Elischer To: John Baldwin Cc: julian@FreeBSD.org, current@FreeBSD.org Subject: Re: thread_sanity_check() In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG all gone now.. On Thu, 11 Jul 2002, John Baldwin wrote: > Considering the incredible amount of complaining over having a > cred_free_thread() function conditionally compiled into the kernel > that only did a mutex lock, decrement, and mutex unlock in the common > case, why isn't thread_sanity_check() (or it's body) conditionally > compiled? It's a lot more expensive than cred_free_thread() and isn't > even under INVARIANTS. Pardon me if I find this a bit hypocritical. > > -- > > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message