Messages in this thread | | | Date | Mon, 16 Feb 2004 20:41:23 -0500 | From | Kristian Lyngstøl <> | Subject | Re: tasklets vs. workqueues |
| |
On Mon, Feb 16, 2004 at 08:20:31PM +0100, Christian Kögler wrote: > When should I use tasklets and when should I user workqueues? > What are the differences?
To quote "Linux Kernel Development" (Which I am currently reading):
Work queues defer work into a kernel thread-the work always runs in process context. Most importantly, work queues are schedulable and can therefore sleep.
Normally, there is little decision between work queues or sotftirqs/tasklets. If the deferred work need to sleep, work queues are used. If the deferred work need not sleepa, softirqs or tasklets are used.
[end quote]
Hope this helped :)
-- Med vennlig hilsen Kristian Lyngstøl - 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/
| |