[rt2x00-users] [RFC] rt2x00: Use tasklets for rt2x00usb

Helmut Schaa helmut.schaa at googlemail.com
Thu Jul 22 17:16:48 AEST 2010


Am Donnerstag 22 Juli 2010 schrieb Ivo Van Doorn:
> On Thu, Jul 22, 2010 at 8:40 AM, Helmut Schaa
> <helmut.schaa at googlemail.com> wrote:
> > Hi Ivo,
> >
> > Am Donnerstag 22 Juli 2010 schrieb Ivo van Doorn:
> >> 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.
> >
> > Ehhm, tasklets will be executed in a softirq, right? That means we cannot use the
> > non-irqsafe rx and txstatus methods from within the tx/tx tasklet.
> 
> Well mac80211 uses tasklets to schedule everything from the irq-safe context
> to the regular contexr where it processes the rxdone and txdone events. So I
> would think this should be safe.

Indeed, you're right. /me is confused right now ;)

Helmut




More information about the users mailing list