LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1271|回复: 1

全局时钟中断的用处是什么?

[复制链接]
发表于 2010-6-20 19:45:42 | 显示全部楼层 |阅读模式
今天看深入理解内核,里面介绍了全局时钟中断(依赖PIC)和cpu本地时钟中断(依赖apic)
内核的定时器处理和软中断的处理以及时间的更新都是依赖于cpu本地的时钟中断的,那全局的pic时钟中断有何用呢?
发表于 2010-6-25 15:39:14 | 显示全部楼层

确认自己是否看错了?

这本书的中英文版本,都不是这么说的。你恐怕看岔了。
Chapter 6.2
In a multiprocessor system, all general activities (such as handling of software timers)
are triggered by the interrupts raised by the global timer,
while CPU-specific activities (such as monitoring the execution time of the currently running process)
are triggered by the interrupts raised by the local APIC timer.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表