Tagged articles
6 articles
Page 1 of 1
Linux Kernel Journey
Linux Kernel Journey
Sep 13, 2025 · Fundamentals

How Linux Handles Hardware Interrupts: From Signal to Response

This article explains the complete Linux interrupt management process, covering the basics of hardware and software interrupts, the role of programmable interrupt controllers, the CPU's response workflow, top‑half and bottom‑half handling, registration techniques, performance optimizations, and debugging tools, all illustrated with concrete examples and code.

APICInterruptsLinux
0 likes · 26 min read
How Linux Handles Hardware Interrupts: From Signal to Response
Refining Core Development Skills
Refining Core Development Skills
Mar 2, 2022 · Fundamentals

Interrupt Mechanism, PIC, APIC, and Interrupt Affinity Explained

This article explains how a CPU handles interrupts using mechanisms like the programmable interrupt controller (PIC), advanced APIC, interrupt vectors, IDT, and how interrupt affinity and CPU affinity can be configured to balance load across multiple cores, illustrating both synchronous exceptions and asynchronous interrupts.

APICCPUHardware
0 likes · 9 min read
Interrupt Mechanism, PIC, APIC, and Interrupt Affinity Explained
macrozheng
macrozheng
Aug 8, 2020 · Fundamentals

How CPUs Handle Interrupts: From 8259A PIC to APIC and Affinity

This article explains the CPU's interrupt mechanism, describing how hardware devices trigger interrupts, the role of the 8259A programmable interrupt controller, the evolution to APIC with I/O and Local APICs, and how interrupt affinity can be configured to improve multi‑core performance.

APICCPUInterrupts
0 likes · 9 min read
How CPUs Handle Interrupts: From 8259A PIC to APIC and Affinity
Liangxu Linux
Liangxu Linux
Aug 1, 2020 · Fundamentals

Why CPUs Need Interrupts: From PIC to APIC and Affinity Explained

The article uses a workshop metaphor to explain how CPUs handle asynchronous interrupt signals, the role of the 8259A PIC and modern APIC, how interrupt vectors and IDT work, and why interrupt and CPU affinity are essential for performance in multi‑core systems.

APICCPU architectureOperating Systems
0 likes · 9 min read
Why CPUs Need Interrupts: From PIC to APIC and Affinity Explained
Open Source Linux
Open Source Linux
Jul 9, 2020 · Fundamentals

How CPUs Handle Interrupts: From PIC to APIC and Interrupt Affinity

This article explains the CPU interrupt mechanism, describing how hardware devices generate interrupt signals, how the legacy 8259A PIC and modern APIC manage and prioritize those interrupts, and how interrupt affinity can be configured to improve multi‑core performance.

APICCPUInterrupts
0 likes · 9 min read
How CPUs Handle Interrupts: From PIC to APIC and Interrupt Affinity