Re: Spinlock recursion in usbnet + rndis-wlan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 18 Jan 2009, Oliver Neukum wrote:

> Am Saturday 17 January 2009 23:44:12 schrieb David Brownell:
> > > Do you know which HCDs are affected?
> > 
> > The unlinking issue generally applies to any HCD that
> > doesn't have to disable hardware queues to unlink.
> > It's the "disable queue" which forces a contex switch
> > on stuff like EHCI/OHCI/UHCI, so they don't see $SUBJECT.
> 
> Or alternatively, we make sue the status given to the completion
> handler must be used to decide which form of locking is appropriate
> to use. On second thought that seems the most elegant solution
> to me.

I doubt this can be made to work.  There will be cases in which an URB
really does complete with an error, so you can't change the status to
indicate that it's being given back during an unlink call.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux