From owner-freebsd-current@FreeBSD.ORG Mon Apr 28 17:25:35 2003 Return-Path: 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 0CBDB37B401; Mon, 28 Apr 2003 17:25:35 -0700 (PDT) Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 872B043FD7; Mon, 28 Apr 2003 17:25:34 -0700 (PDT) (envelope-from hsu@FreeBSD.org) Received: from FreeBSD.org ([63.193.112.125]) by mta5.snfc21.pbi.net (iPlanet Messaging Server 5.1 HotFix 1.6 (built Oct 18 2002)) with ESMTP id <0HE200DASX6MIM@mta5.snfc21.pbi.net>; Mon, 28 Apr 2003 17:25:34 -0700 (PDT) Date: Mon, 28 Apr 2003 17:34:26 -0700 From: Jeffrey Hsu In-reply-to: "Message from M. Warner Losh" "of Mon, 28 Apr 2003 17:39:25 MDT." <20030428.173925.21929852.imp@bsdimp.com> To: "M. Warner Losh" Message-id: <0HE200DATX6MIM@mta5.snfc21.pbi.net> MIME-version: 1.0 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT cc: current@freebsd.org cc: jhb@FreeBSD.org Subject: Re: panic: sleeping thread owns a mutex X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2003 00:25:35 -0000 Now, what about the race between the WI_UNLOCK() and the mtx_destroy() in wi_detach() and any other WI_LOCK(), say in wi_start()? Jeffrey