Open Source Linux
Open Source Linux
Oct 8, 2022 · Fundamentals

Understanding Linux IRQ and SoftIRQ: From Hard Interrupts to Deferred Handling

This article explains the fundamentals of Linux interrupt handling, covering the distinction between hardware and software interrupts, the processing flow of hard IRQs, maskable versus non‑maskable interrupts, the need for deferred execution, and a deep dive into softirqs, tasklets, and workqueues with code examples and performance considerations.

Deferred ExecutionInterruptsKernel
0 likes · 15 min read
Understanding Linux IRQ and SoftIRQ: From Hard Interrupts to Deferred Handling
ITPUB
ITPUB
Aug 21, 2017 · Fundamentals

Understanding Linux Interrupt Handling: Tasklets, SoftIRQs, and Workqueues

This article explains Linux interrupt handling mechanisms, covering the basic vector‑table approach, the concept of bottom‑half processing, and the evolution from simple interrupt routines to softirqs, tasklets, and workqueues, while offering practical guidance on when to use each technique.

InterruptsKernelsoftirq
0 likes · 8 min read
Understanding Linux Interrupt Handling: Tasklets, SoftIRQs, and Workqueues
ITPUB
ITPUB
Feb 24, 2017 · Fundamentals

Understanding Linux Tasklet and Workqueue Mechanisms: A Deep Dive

This article explains why the Linux kernel introduced the tasklet mechanism, details its core data structures and execution flow, and then compares it with the workqueue system, covering creation, scheduling, and processing of work items in kernel space.

KernelOperating systemtasklet
0 likes · 7 min read
Understanding Linux Tasklet and Workqueue Mechanisms: A Deep Dive
ITPUB
ITPUB
Oct 20, 2016 · Fundamentals

Understanding Linux Hard IRQ vs Soft IRQ: A Deep Dive into Kernel Interrupt Handling

This article explains the distinction between hard IRQ and soft IRQ in the Linux x86 32‑bit kernel, detailing how preempt_count tracks interrupt context, how do_IRQ, irq_enter, and irq_exit manage the transition, and how __do_softirq processes pending softirqs with code examples and diagrams.

HardIRQInterruptsKernel
0 likes · 9 min read
Understanding Linux Hard IRQ vs Soft IRQ: A Deep Dive into Kernel Interrupt Handling
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
ITPUB
ITPUB
Apr 26, 2016 · Backend Development

Integrating Twisted with Stackless Python: A Practical Guide

This article explains how to combine Twisted's event‑driven reactor with Stackless Python's micro‑threads by setting up a reactor tasklet, creating filtering and wrapper decorators, and providing deferred_tasklet and blocking_tasklet utilities to run asynchronous code synchronously.

DecoratorStacklessTwisted
0 likes · 7 min read
Integrating Twisted with Stackless Python: A Practical Guide