Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2002 19:38:29 +0100
From:      Josef Karthauser <joe@tao.org.uk>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        current@freebsd.org, David Wolfskill <david@catwhisker.org>
Subject:   Re: panic "sleeping without a mutex" in usb_task_thread
Message-ID:  <20020408183829.GB85649@genius.tao.org.uk>
In-Reply-To: <XFMail.20020408133755.jhb@FreeBSD.org>
References:  <20020408175952.GA83305@genius.tao.org.uk> <XFMail.20020408133755.jhb@FreeBSD.org>

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

[-- Attachment #1 --]
On Mon, Apr 08, 2002 at 01:37:55PM -0400, John Baldwin wrote:
> 
> On 08-Apr-2002 Josef Karthauser wrote:
> > On Mon, Apr 08, 2002 at 12:33:40PM -0400, John Baldwin wrote:
> >  
> >> show witness isn't useful to most people so I would avoid it unless someone
> >> explicitly asks for it.  The problem here is likely due to the
> >> usb_task_thread() not locking Giant when it starts up.
> > 
> > We probably want this:
> 
> Probably unless some USB specific locks are added instead, but this is the
> easier fix for the time being.
> 

Cool.  I've committed this; where should I look to get a low down on
what to lock, when and how?  Is there anything other than source to
refer to?

Joe

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjyx46UACgkQXVIcjOaxUBZAqQCg1oToZIx39FaVjneiNDZo2dOr
ZYEAmgIXJx37w3dhK+MNObBxNrnFdeVn
=ftAp
-----END PGP SIGNATURE-----
help

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