2011年1月6日 星期四

Softirq - Software Interrupt Context: Bottom Halves, Tasklets, softirq

top-half=hardirq/bottom-half=sotfirq
Threaded interrupt handlers: reduce that work/latency even further
http://people.netfilter.org/rusty/unreliable-guides/kernel-hacking/basics-softirqs.html
http://lwn.net/Articles/302043/

Softirq
/* PLEASE, avoid to allocate new softirqs, if you need not _really_ high
   frequency threaded job scheduling. For almost all the purposes
   tasklets are more than enough. F.e. all serial device BHs et
   al. should be converted to tasklets, not to softirqs.
 */


 Tasklets --- multithreaded analogue of BHs.

Main feature differing them of generic softirqs: tasklet
is running only on one CPU simultaneously.

沒有留言:

張貼留言