From owner-freebsd-current@FreeBSD.ORG Mon Apr 28 17:09:10 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 6D83737B401; Mon, 28 Apr 2003 17:09:10 -0700 (PDT) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5A5043F3F; Mon, 28 Apr 2003 17:09:09 -0700 (PDT) (envelope-from hsu@FreeBSD.org) Received: from FreeBSD.org (adsl-63-193-112-125.dsl.snfc21.pacbell.net [63.193.112.125])h3T097Pi008679; Mon, 28 Apr 2003 19:09:07 -0500 (CDT) Message-Id: <200304290009.h3T097Pi008679@mta4.rcsntx.swbell.net> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "M. Warner Losh" In-Reply-To: Message from "M. Warner Losh" <20030428.173925.21929852.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 28 Apr 2003 17:17:58 -0700 From: Jeffrey Hsu 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:09:10 -0000 >> bus_teardown_intr(...) > We can't get an interrupt after this returns, and we're guaranteed > that the interrupt has terminated. Ah, I missed the msleep() synchronization point in ithread_remove_handler(). Jeffrey