Tagged articles
2 articles
Page 1 of 1
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.

DebuggingPerf EventsScheduling
0 likes · 17 min read
Root Cause Analysis of Linux Kernel Hard Lockup on CPU 51
Liangxu Linux
Liangxu Linux
Jul 26, 2023 · Operations

Master Linux Perf: From Event Subsystem to Flame Graphs

This article provides a comprehensive guide to Linux Perf, covering its architecture, counting and sampling modes, event classifications, the full suite of Perf tools, and how to generate and interpret CPU and Off‑CPU flame graphs for deep performance analysis.

Perf EventsSystem Tracingflame graph
0 likes · 20 min read
Master Linux Perf: From Event Subsystem to Flame Graphs