[RFC PATCH 0/4] USB: HCD/EHCI: giveback of URB in tasklet context

Oliver Neukum oliver at neukum.org
Wed Jun 12 05:11:06 EDT 2013


On Tuesday 11 June 2013 15:10:03 Alan Stern wrote:
> In order to prevent this from happening, you would have to change the
> spin_lock() call in the completion handler to spin_lock_irqsave().  
> Furthermore, you will have to audit every USB driver to make sure that
> all the completion handlers get fixed.

Yes. However, it can be done mechanically. And we know only
the handlers for complete need to be fixed.

	Regards
		Oliver




More information about the linux-arm-kernel mailing list