Messages in this thread | | | Subject | Re: Tasklets vs. Task Queues for Deferred Processing | From | (Jonathan Corbet) | Date | Sat, 29 Mar 2003 14:48:22 -0700 |
| |
> I have read in the O'Reilly linux device drivers > book that tasklets always run in interrupt time. Also, I guess the only > task_queue that is in process context is the scheduler task queue. I've > seen in a few places that task queues are on their way out and tasklets > are being used instead. Is this completely true?
All true. If you're developing for 2.4, you can use schedule_task() and life will be OK. For 2.5, you really want to use work queues instead; see http://lwn.net/Articles/23634/ for a description of how to do that.
jon
Jonathan Corbet Executive editor, LWN.net corbet@lwn.net - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |