Tag

perf-events

0 views collected around this technical thread.

Tencent Architect
Tencent Architect
Jun 24, 2024 · Operations

Root Cause Analysis of Linux Kernel Hard Lockup on CPU 51

This article walks through a real Linux kernel hard lockup case, explaining what hard lockup is, analyzing stack traces and register values, identifying a spinlock contention on a per‑CPU runqueue, and showing how an inappropriate GFP flag caused interrupts to be enabled at the wrong time, leading to a deadlock and the eventual fix.

DebuggingKernelScheduling
0 likes · 17 min read
Root Cause Analysis of Linux Kernel Hard Lockup on CPU 51