From: Oliver Neukum <oliver@neukum.org>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-usb-devel@lists.sourceforge.net, marcel@holtmann.org,
maxk@qualcomm.com, linux-kernel@vger.kernel.org,
bluez-devel@lists.sourceforge.net
Subject: Re: [PATCH] hci_usb: implement suspend/resume
Date: Wed, 18 Jan 2006 16:34:08 +0100 [thread overview]
Message-ID: <200601181634.08869.oliver@neukum.org> (raw)
In-Reply-To: <1137593621.4543.22.camel@localhost>
Am Mittwoch, 18. Januar 2006 15:13 schrieb Johannes Berg:
> On Wed, 2006-01-18 at 14:25 +0100, Oliver Neukum wrote:
>
> > This patch is wrong. usb_kill_urb() will sleep. You must not use it under
> > a spinlock.
>
> Whoops. Good catch. I'll have to analyse the logic with the lists being
> used here (and probably add a temporary list). Will try to get a new
> patch until tomorrow.
>
> [side note: how about adding might_sleep() to usb_kill_urb? Then I'd at
> least have noticed this right away]
Good idea.
Regards
Oliver
next prev parent reply other threads:[~2006-01-18 15:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-17 23:21 Johannes Berg
2006-01-18 13:13 ` Marcel Holtmann
2006-01-18 16:38 ` Johannes Berg
2006-03-21 9:42 ` Johannes Berg
2006-03-21 9:52 ` Marcel Holtmann
2006-04-16 14:42 ` Johannes Berg
2006-01-18 13:25 ` Oliver Neukum
2006-01-18 14:13 ` Johannes Berg
2006-01-18 15:34 ` Oliver Neukum [this message]
2006-01-18 20:46 ` [linux-usb-devel] " Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200601181634.08869.oliver@neukum.org \
--to=oliver@neukum.org \
--cc=bluez-devel@lists.sourceforge.net \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=marcel@holtmann.org \
--cc=maxk@qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®