- 论坛徽章:
- 0
|
• 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.
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/106866/showart_2140408.html |
|