Chinaunix首页 | 论坛 | 博客
  • 博客访问: 16685
  • 博文数量: 9
  • 博客积分: 1505
  • 博客等级: 上尉
  • 技术积分: 95
  • 用 户 组: 普通用户
  • 注册时间: 2008-07-07 10:01
文章分类
文章存档

2009年(9)

我的朋友
最近访客

分类: LINUX

2009-04-19 22:34:52

1.         hardware’s assistance: every time before executing an instruction, it checks whether a exception or interruption happens
2.         based on the irq number, it finds out the corresponding interruption descriptor
3.         exception handler or interruption handler is invoked
4.         if it’s exception, generally a signal is sent to the current process; else if it’s interruption, the registered irq_action is invoked
5.         handles pending soft interruption if any, and this is only for interruption
6.         schedules to other processes if needed
7.         when back from schedule, handles pending signal if any
8.         restore the context from kernel stack
 
阅读(575) | 评论(0) | 转发(0) |
0

上一篇:system timer queue

下一篇:socket

给主人留下些什么吧!~~