[rt2x00-users] [RFC] rt2x00: Use tasklets for rt2x00usb
Ivo Van Doorn
ivdoorn at gmail.com
Thu Jul 22 06:33:20 UTC 2010
On Thu, Jul 22, 2010 at 5:05 AM, Mark Asselstine <asselsm at gmail.com> wrote:
> On Wed, Jul 21, 2010 at 6:32 PM, Ivo van Doorn <ivdoorn at gmail.com> wrote:
>> This updates the rt2x00usb driver to use tasklets for handling interrupts.
>> This simplifies the code in rt2x00lib since it no longer needs to check if the
>> device is USB or PCI to decide which mac80211 function should be used.
>> This patch is work in progress, but I would to hear if there are any comments
>> on the approach taken.
>> Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
> Ivo, I know it has been far too long since I have done any work on
> this project and I am far from an expert so feel free hit the delete
> key... that being said. Tasklets are used less and less in the kernel
> as there are now other mechanisms which offer the same flexibility.
> Seeing this trend makes me feel rt2x00 is moving in the opposite
> direction. Have you looked at threaded interrupts (which are now in
> mainline) as an alternative? If I can get my development environment
> setup quickly I will try to do better then these few words and
> actually attempt an implementation if you think it is worth it.
Well threaded interrupts are already used in rt2x00 for PCI devices.
But with USB devices they can't be used since they exist only for PCI
devices. But if there is a better alternative for tasklets which I can use for
USB, then I can change it to that, :)
More information about the users