Messages in this thread | | | From | Duncan Sands <> | Subject | Re: Tasklets vs. Task Queues for Deferred Processing | Date | Sat, 29 Mar 2003 09:12:53 +0100 |
| |
On Saturday 29 March 2003 00:14, J S wrote: > I'm trying to defer some processing to a later point. I'm in a softirq, > so in_interrupt() returns true. I need to schedule some work for later, > in process context. 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? Should I consider > task queues as a deprecated method of deferred processing?` What other > deferred processing methods can I use that will run in process context?
In 2.5, use a workqueue.
Duncan. - 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/
| |