• Tasklets 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, workqueue
functions can sleep.
• Tasklets always run on the processor from which they were originally submitted.
Workqueues work in the same way, by default.
• Kernel code can request that the execution of workqueue functions be delayed
for an explicit interval.
阅读(701) | 评论(0) | 转发(0) |