Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2002 22:10:40 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        dillon@freebsd.org, smp@freebsd.org, Alfred Perlstein <bright@mu.org>
Subject:   Re: help with mutex_pool please?
Message-ID:  <XFMail.020204221040.jhb@FreeBSD.org>
In-Reply-To: <3C4A4362.8A98209D@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org>  <><  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.020204221040.jhb>