开发者

What hardware interrupts are actually interrupt? [duplicate]

开发者 https://www.devze.com 2023-01-04 16:35 出处:网络
This question already has answers here: Closed 12 years ago. P开发者_如何学编程ossible Duplicate:
This question already has answers here: Closed 12 years ago.

P开发者_如何学编程ossible Duplicate:

How do interrupts in multicore/multicpu machines work?

what is interrupted by a hardware interrupt? one particular CPU core execution or all CPUs in the system?

The CPU is i7 or Xeon X3450


Interrupts are tied to the CPUs by the hardware driver servicing them. Hardware routing of the interrupts is handled by an APIC. So the driver (software in the kernel) can decide which CPUs get notice of the interrupt.


A hardware interrupt interrupts a single core, depending on SMP affinity. It doesn't have to be the same core always, i.e. you can process a network packet in a core, and the next one in another core.

0

精彩评论

暂无评论...
验证码 换一张
取 消