From owner-freebsd-current Thu Jun 13 16:37:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 2C66737B41A for ; Thu, 13 Jun 2002 16:37:18 -0700 (PDT) Received: (qmail 18452 invoked from network); 13 Jun 2002 23:37:17 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 13 Jun 2002 23:37:17 -0000 Received: from laptop.baldwin.cx ([206.187.69.208]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g5DNbEQ91193; Thu, 13 Jun 2002 19:37:14 -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: <0GXN0079TXWQGN@mta5.snfc21.pbi.net> Date: Thu, 13 Jun 2002 19:37:07 -0400 (EDT) From: John Baldwin To: Jeffrey Hsu Subject: Re: Crash after world/kernel upgrade Cc: current@freebsd.org, sidcarter@symonds.net 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 13-Jun-2002 Jeffrey Hsu wrote: > Duplicate inp warnings occur whenever 2 inp locks are held, even though they're > on different inps, because all the inp locks are named "inp". I've > investigated a couple of these already and they were all places where > we intended to grab two inp locks. So, for the most part, these warning are > harmless. As John said though, panics are serious, so if you get any of > those, please report them to me directly, as I only monitor this list > periodically. How do you define the order between teh two inp locks to ensure you don't end up deadlocking? That is why the warning is there. Unless you have a well-defined lock order between inp locks you can easily get into deadlocks. -- 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