Chinaunix首页 | 论坛 | 博客
  • 博客访问: 589205
  • 博文数量: 83
  • 博客积分: 5453
  • 博客等级: 大校
  • 技术积分: 894
  • 用 户 组: 普通用户
  • 注册时间: 2006-06-10 13:51
文章分类

全部博文(83)

文章存档

2015年(2)

2014年(1)

2013年(1)

2012年(3)

2011年(14)

2010年(7)

2009年(7)

2008年(12)

2007年(17)

2006年(19)

我的朋友

分类: LINUX

2010-08-24 13:28:37

keyword: linux, interrupt context, sleep

1 Interrupt context is not associated with a process.

The "current" macro is not relevant.

So, there is no backing process. => no reschedule process

note:

A "sleep" is a state of process.

schedule operates on process.


Why interrupt is not associated with a process?

2 Interrupt is about hardware

Interrupt is used for communication between device and CPU, and it async with the software

process is a software.

So, interrupt is async with any process. 

author:xiaosun

reference:

unix internal 

linux kernel development

阅读(1136) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-08-27 08:42:50

Download More than 1000 free IT eBooks: http://free-ebooks.appspot.com