Open Source Linux
Open Source Linux
Aug 25, 2023 · Fundamentals

Understanding Linux IRQ and SoftIRQ: From Basics to Deferred Handling

This article explains the fundamentals of Linux interrupt handling, covering the concepts of hardware and software interrupts, the IRQ processing flow, maskable versus non‑maskable interrupts, and the three deferred execution mechanisms—softirq, tasklet, and workqueue—along with code examples and practical considerations.

Deferred ExecutionKernelLinux
0 likes · 14 min read
Understanding Linux IRQ and SoftIRQ: From Basics to Deferred Handling
Liangxu Linux
Liangxu Linux
Sep 2, 2021 · Fundamentals

Understanding x86 Interrupts: Vectors, Descriptors, and Handling Mechanisms

This article explains the fundamentals of x86 interrupt handling, covering the distinction between interrupt vectors and descriptors, classification of internal and external interrupts, the role of the 8259A PIC, how interrupt numbers are assigned, and the mechanisms for saving and restoring CPU state during an interrupt.

CPUInterruptshardware
0 likes · 15 min read
Understanding x86 Interrupts: Vectors, Descriptors, and Handling Mechanisms
Liangxu Linux
Liangxu Linux
Mar 27, 2021 · Operations

Understanding Linux CPU Scheduling and Interrupt Handling

This article explains Linux's sophisticated scheduling system, CPU context switching, and the architecture of hardware and software interrupts, detailing how the kernel manages CPU resources, interrupt contexts, and bottom‑half mechanisms to optimize performance and stability.

CPU schedulingLinuxcpu_affinity
0 likes · 20 min read
Understanding Linux CPU Scheduling and Interrupt Handling
ITPUB
ITPUB
May 16, 2020 · Fundamentals

Exploring Lei Jun’s Elegant 1994 Assembly TSR: RAMinit Source Code

This article presents the complete 1994 assembly source of Lei Jun’s RAMinit TSR program, explains its historical context, describes its hot‑key removal logic, interrupt hooking, environment backup and restoration, and details the low‑level XMS/EMS memory management routines.

AssemblyDOSTSR
0 likes · 27 min read
Exploring Lei Jun’s Elegant 1994 Assembly TSR: RAMinit Source Code
MaGe Linux Operations
MaGe Linux Operations
Oct 7, 2016 · Fundamentals

How Linux Handles Interrupts: A Five‑Stage Deep Dive into Asynchronous Processing

This article explains Linux kernel interrupt handling in five stages—from acquiring the interrupt number and serializing concurrent interrupts to using softirqs, tasklets, and workqueues for deferred processing—while highlighting the design choices that keep critical code non‑reentrant and the system responsive.

KernelLinuxinterrupt handling
0 likes · 11 min read
How Linux Handles Interrupts: A Five‑Stage Deep Dive into Asynchronous Processing