[RFC PATCH 0/4] USB: HCD/EHCI: giveback of URB in tasklet context
From: Ming Lei <hidden>
Date: 2013-06-14 02:03:45
From: Ming Lei <hidden>
Date: 2013-06-14 02:03:45
On Thu, Jun 13, 2013 at 10:54 PM, Alan Stern [off-list ref] wrote:
Maybe we should simply copy what the networking people do. They are very concerned about performance and latency; whatever technique they use should be good for USB too.
Most of net devices don't use interrupt threaded handler, looks we need to copy that first, :-) $git grep -n request_threaded_irq drivers/net/ | wc -l 9 $git grep -n request_threaded_irq drivers/net/wireless | wc -l 5 Also 5 of 9 using interrupt threaded handler are wireless network devices, which are a bit slow, and only one ethernet driver uses it. So I plan to use tasklet first, then we can switch to interrupt threaded handler in the future if mass storage devices are OK with it. If no one objects to use tasklet, I will post out the v1 patch for review later. Thanks, -- Ming Lei