From owner-freebsd-smp Mon Feb 4 19:10:50 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 5595D37B405 for ; Mon, 4 Feb 2002 19:10:44 -0800 (PST) Received: (qmail 14015 invoked from network); 5 Feb 2002 03:10:42 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([65.91.164.35]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 5 Feb 2002 03:10:42 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3C4A4362.8A98209D@mindspring.com> Date: Mon, 04 Feb 2002 22:10:40 -0500 (EST) From: John Baldwin To: Terry Lambert Subject: Re: help with mutex_pool please? Cc: dillon@freebsd.org, smp@freebsd.org, Alfred Perlstein Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 20-Jan-02 Terry Lambert wrote: > Alfred Perlstein wrote: >> >> I was going to convert some subsystems to use mutex pools... >> >> However if I apply this delta, a couple of seconds after boot I get >> a lockup, sometimes the panic message is printed "sleeping with >> mutex held" >> >> Any clues? > > Implied unlock on the two destroys you removed? Yes, mtx_destroy() will do that if the mutex is locked. -- 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-smp" in the body of the message