From owner-freebsd-current Fri Jul 12 11: 9: 9 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 B052737B400 for ; Fri, 12 Jul 2002 11:09:06 -0700 (PDT) Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B35743E3B for ; Fri, 12 Jul 2002 11:09:06 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 32114 invoked from network); 12 Jul 2002 18:09:04 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail14.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 12 Jul 2002 18:09:04 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g6CI93036688; Fri, 12 Jul 2002 14:09:03 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 12 Jul 2002 14:09:01 -0400 (EDT) From: John Baldwin To: Julian Elischer Subject: Re: thread_sanity_check() Cc: current@FreeBSD.org, julian@FreeBSD.org 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 On 11-Jul-2002 Julian Elischer wrote: > all gone now.. Ok, I didn't mind it being there, just maybe under INVARIANTS instead is all. > 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/ >> > -- 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