由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - exception与interrupt的区别?
相关主题
spin_lock_irqsave vs. disable irq vs. mask irqLinux scheduler
rsync 20G的home directory要多长时间ubuntu这个崩溃法什么原因?
推荐一个linux下能用的usb wireless adapter吧最近老是出Machine Check Exception错误死机,一般什么原因?
问个很难的问题开源这班人有时真的让人无语
quick question, timer on multi-core谁知道这个问题的答案 (转载)
请教:Linux 和 ThreadX 各有什么优缺点?Asynchronous IO的问题
Balance network interruptsshow off 一下
when should use multiprocess not multithread: embedded multicore linuxHow not to use password for ssh connections
相关话题的讨论汇总
话题: interrupt话题: exception话题: 周期话题: exceptions
进入Linux版参与讨论
1 (共1页)
z***l
发帖数: 256
1
读《Linux Kernel Primer》,上面写exceptions typicall happen after an
intruction's exectuion, and interrupt can happen in between instructions。
这里我不太清楚after an intruction's exectuion 和between instructions的差别。
难道是指的exceptions 是一个在取指令周期,取数据周期和执行周期都完成之后发生
,而interrupt 可以在这些周期之间发生?
请教高手,谢谢!
j**********p
发帖数: 22
2
Probably it should have said this, exceptions are typically generated by
instructions, while interrupts are irrelevant to instructions, which could
be after or in between instructions.

【在 z***l 的大作中提到】
: 读《Linux Kernel Primer》,上面写exceptions typicall happen after an
: intruction's exectuion, and interrupt can happen in between instructions。
: 这里我不太清楚after an intruction's exectuion 和between instructions的差别。
: 难道是指的exceptions 是一个在取指令周期,取数据周期和执行周期都完成之后发生
: ,而interrupt 可以在这些周期之间发生?
: 请教高手,谢谢!

i*****r
发帖数: 265
3
Interrupts are called asynchronous exception, which are generated by
hardware devices. Exception is generated by CPU (instructions) after the
termination of instruction (typically).
1 (共1页)
进入Linux版参与讨论
相关主题
How not to use password for ssh connectionsquick question, timer on multi-core
/etc/modules在ubuntu 9.04的哪个包里?请教:Linux 和 ThreadX 各有什么优缺点?
fedora 11问题Balance network interrupts
how to begin kernel development step by step?when should use multiprocess not multithread: embedded multicore linux
spin_lock_irqsave vs. disable irq vs. mask irqLinux scheduler
rsync 20G的home directory要多长时间ubuntu这个崩溃法什么原因?
推荐一个linux下能用的usb wireless adapter吧最近老是出Machine Check Exception错误死机,一般什么原因?
问个很难的问题开源这班人有时真的让人无语
相关话题的讨论汇总
话题: interrupt话题: exception话题: 周期话题: exceptions