About preemptive and non-preemptive kernel
Here is my point about preemptive and non-preemptive kernel. As the interruption handling process is implemented in the kernel, does it imply that ne开发者_高级运维sted interruption can only happen in a preemptive kernel?
No. "pre-emptive" versus "non-pre-emptive" kernels are referring to kernel code being prempted by code not running in interrupt context. Interrupts are special, and even "non-pre-emptive" kernels typically allow kernel code to be preempted by interrupt handlers (and often even allow nested interrupts).
精彩评论