From owner-cvs-all Fri Oct 25 6:51: 7 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BEF137B401 for ; Fri, 25 Oct 2002 06:51:06 -0700 (PDT) Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33FD043E6A for ; Fri, 25 Oct 2002 06:51:06 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 23001 invoked from network); 25 Oct 2002 13:51:06 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 25 Oct 2002 13:51:06 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id g9PDonn5074967; Fri, 25 Oct 2002 09:50:52 -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: <200210250840.g9P8eKWu073813@repoman.freebsd.org> Date: Fri, 25 Oct 2002 09:50:53 -0400 (EDT) From: John Baldwin To: Poul-Henning Kamp Subject: RE: cvs commit: src/sys/kern kern_mutex.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 25-Oct-2002 Poul-Henning Kamp wrote: > phk 2002/10/25 01:40:20 PDT > > Modified files: > sys/kern kern_mutex.c > Log: > Disable the kernacc() check in mtx_validate() until such time that kernacc > does not require Giant. > > This means that we may miss panics on a class of mutex programming bugs, > but only if running with a Chernobyl setting of debug-flags. > > Spotted by: Pete Carah People probably should not be using MUTEX_DEBUG unless they are actually working on the mutex implementation anyways. We might even should just shoot that code in the head and put it out of its misery. -- 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 cvs-all" in the body of the message