Skip to content

内核 panic 流程#5

Draft
jackYoung0915 wants to merge 1 commit into
masterfrom
cursor/panic-c1ca
Draft

内核 panic 流程#5
jackYoung0915 wants to merge 1 commit into
masterfrom
cursor/panic-c1ca

Conversation

@jackYoung0915
Copy link
Copy Markdown
Owner

Add docs/kernel-panic-flow.md to document the Linux kernel panic process.


Open in Cursor Open in Web

详细整理了 Linux 内核 panic 的完整流程,包括:
- panic 触发来源 (oops/直接调用/NMI)
- vpanic() 核心流程 15 个步骤详解
- 多 CPU 同步机制 (panic_cpu 原子变量)
- kdump/kexec 路径分析
- panic notifier 机制
- 关键配置参数和 sysctl 接口
- Oops vs Panic 区别
- WARN → Panic 路径
- 关键数据结构和源码文件索引

Co-authored-by: Slim6882 <jackYoung0915@users.noreply.github.com>
@cursor
Copy link
Copy Markdown

cursor Bot commented Feb 6, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants