How exactly are tasklets scheduled internally?

I know that Tasklets are deferred interrupt handlers are are executed in interrupt context besides they have the highest priority (most certainly above user processes).

However if we have multiple Tasklets with a lot of work to be done, how are these Tasklets scheduled ? What is the order in which they are executed ?


You are asking a very general question about a rather complex topic. (you might also want to specify your kernel version and whether you are using the RT-preempt patch.) I found this page to contain a pretty good description of tasklets.

tasklets

Hope that helps. But I guess the quick answer to "how are they scheduled" is first-come-first-serve within the softirq-tasklet thread.

Michael

链接地址: http://www.djcxy.com/p/14846.html

上一篇: CFS调度程序:如何知道分配给调度的任务

下一篇: tasklets究竟是如何在内部安排的?