On Fri, 16 Apr 2004, Steven Scholz wrote:
> >>I decided to rewrite it to use tasklets instead.
> >
> > Task queues are so 2.4! I don't use 2.4 kernels for anything but simple
> > testing. Still, it would be better to have the Agere driver in a good
> > shape so that we can use it as a working reference. Please submit your
> > changes to the driver developers (if you can find them :-/ ), they should
> > know better.
> >
> > Tasklets are not necessarily better. In fact, the Orinoco driver is
> > likely to move towards work queues (2.6 term for task queues) to
> > accommodate USB support.
>
> Does 2.4 support "work queues"?
No.
> What's the big difference between "task queues" and "work queues"?
The best description I could find is here:
http://lwn.net/Articles/23634/
In a nutshell, "task queues" and "work queues" have a very similar
interface, but "work queues" run in the user context and can sleep.
"task queues" are run as bottom halves and cannot be preempted by
softirqs.
If you don't rely on this difference, you can use simple compatibility
macros found in kcompat.h in CVS Orinoco.
--
Regards,
Pavel Roskin
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
|