Chinaunix首页 | 论坛 | 博客
  • 博客访问: 88686
  • 博文数量: 14
  • 博客积分: 1708
  • 博客等级: 上尉
  • 技术积分: 260
  • 用 户 组: 普通用户
  • 注册时间: 2008-01-27 09:29
文章分类

全部博文(14)

文章存档

2011年(1)

2010年(13)

分类:

2010-07-06 10:05:41

中断线程化可以提高Linux的实时性能。它包括soft和hard irqs。

• Device drivers register interrupt handler with usual
interface (request_irq())
– No modifications required in device drivers
• A thread is created for the IRQ
– Only one thread per IRQ
• Kernel keeps a list of ISRs for each IRQ
7
– ISRs are sequentially invoked for shared IRQs
• Some drivers may not want their interrupt handlers
threaded (e.g., clock and serial I/O on FreeBSD)
– IRQ_NODELAY flag for non-threaded IRQs
阅读(632) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~