The tasklet mechanism is useful in interrupt handling situation , where the hardware interrupt must be managed as quickly as possible and most of the data management can be safely delayed to a later time.
Tag Archives: tasklet
[Linx driver]Differences between tasklet and workqueue
Tasklet run in software interrupt context with the result that all tasklet code must be atomic. Instead, workqueue functions run in the context of a special kernel process; as a result, they have more flexibility. In particular, work queue functions can sleep. Tasklets always run on the processor from which they were originally submitted, WorkqueuesContinue reading “[Linx driver]Differences between tasklet and workqueue”