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>

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

--IiVenqGWf+H9Y6IX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

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

--IiVenqGWf+H9Y6IX
Content-Type: application/pgp-signature
Content-Disposition: inline

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

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

--IiVenqGWf+H9Y6IX--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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