哪些硬件中断实际上是中断?

发布于 2024-09-06 18:52:05 字数 294 浏览 1 评论 0原文

可能的重复:
多核/多CPU机器中的中断如何工作?

什么是被硬件中断中断?一个特定的 CPU 核心执行还是系统中的所有 CPU?

CPU 为 i7 或 Xeon X3450

Possible 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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

咿呀咿呀哟 2024-09-13 18:52:05

中断通过为 CPU 提供服务的硬件驱动程序与 CPU 绑定。中断的硬件路由由 APIC 处理。因此驱动程序(内核中的软件)可以决定哪些 CPU 收到中断通知。

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.

老街孤人 2024-09-13 18:52:05

硬件中断会中断单个内核,具体取决于 SMP 关联性。它不必总是相同的核心,即您可以在一个核心中处理网络数据包,并在另一个核心中处理下一个网络数据包。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文