torvalds/linux · 文件 下载 ZIP
文件最后提交记录最后更新时间
README.md
以下内容由 AI 翻译,如有问题请点此提交 issue 反馈
Linux 内核
Linux 内核是任何 Linux 操作系统的核心。它管理硬件、 系统资源,并为所有其他软件提供基础服务。
快速入门
- 报告 bug:参见 Documentation/admin-guide/reporting-issues.rst
- 获取最新内核:https://kernel.org
- 构建内核:参见 Documentation/admin-guide/quickly-build-trimmed-linux.rst
- 加入社区:https://lore.kernel.org/
核心文档
所有用户都应熟悉以下内容:
- 构建要求:Documentation/process/changes.rst
- 行为准则:Documentation/process/code-of-conduct.rst
- 许可证:参见 COPYING
文档可以通过 make htmldocs 构建,或在线查看: https://www.kernel.org/doc/html/latest/
你是谁?
在下方找到你的角色:
- 新内核开发者 - 开始内核开发
- 学术研究人员 - 研究内核内部机制和架构
- 安全专家 - 加固和漏洞分析
- 回移/维护工程师 - 维护稳定内核
- 系统管理员 - 配置和故障排除
- 维护者 - 领导子系统并审查补丁
- 硬件供应商 - 为新硬件编写驱动程序
- 发行版维护者 - 为发行版打包内核
- AI 编码助手 - LLM 和 AI 驱动的开发工具
针对特定用户
新内核开发者
欢迎!从这里开始你的内核开发之旅:
- 入门指南:Documentation/process/development-process.rst
- 你的第一个补丁:Documentation/process/submitting-patches.rst
- 编码风格:Documentation/process/coding-style.rst
- 构建系统:Documentation/kbuild/index.rst
- 开发工具:Documentation/dev-tools/index.rst
- 内核开发指南:Documentation/kernel-hacking/hacking.rst
- 核心 API:Documentation/core-api/index.rst
学术研究人员
探索内核的架构和内部机制:
- 研究人员指南:Documentation/process/researcher-guidelines.rst
- 内存管理:Documentation/mm/index.rst
- 调度器:Documentation/scheduler/index.rst
- 网络栈:Documentation/networking/index.rst
- 文件系统:Documentation/filesystems/index.rst
- RCU(读-复制更新):Documentation/RCU/index.rst
- 锁原语:Documentation/locking/index.rst
- 电源管理:Documentation/power/index.rst
安全专家
安全文档和加固指南:
- 安全文档:Documentation/security/index.rst
- LSM 开发:Documentation/security/lsm-development.rst
- 自我保护:Documentation/security/self-protection.rst
- 报告漏洞:Documentation/process/security-bugs.rst
- CVE 流程:Documentation/process/cve.rst
- 受禁硬件问题:Documentation/process/embargoed-hardware-issues.rst
- 安全特性:Documentation/userspace-api/seccomp_filter.rst
Backport/Maintenance Engineer
维护和稳定内核版本:
- 稳定内核规则:Documentation/process/stable-kernel-rules.rst
- 回移指南:Documentation/process/backporting.rst
- 应用补丁:Documentation/process/applying-patches.rst
- 子系统简介:Documentation/maintainer/maintainer-entry-profile.rst
- 维护者用 Git:Documentation/maintainer/configure-git.rst
System Administrator
配置、调优和排查 Linux 系统:
- 管理指南:Documentation/admin-guide/index.rst
- 内核参数:Documentation/admin-guide/kernel-parameters.rst
- Sysctl 调优:Documentation/admin-guide/sysctl/index.rst
- 跟踪/调试:Documentation/trace/index.rst
- 性能安全:Documentation/admin-guide/perf-security.rst
- 硬件监控:Documentation/hwmon/index.rst
Maintainer
领导内核子系统并管理贡献:
- 维护者手册: Documentation/maintainer/index.rst
- 拉取请求: Documentation/maintainer/pull-requests.rst
- 补丁管理: Documentation/maintainer/modifying-patches.rst
- 变基与合并: Documentation/maintainer/rebasing-and-merging.rst
- 开发流程: Documentation/process/maintainer-handbooks.rst
- 维护者入门资料: Documentation/maintainer/maintainer-entry-profile.rst
- Git 配置: Documentation/maintainer/configure-git.rst
硬件供应商
编写驱动程序并支持新硬件:
- 驱动程序 API 指南: Documentation/driver-api/index.rst
- 驱动程序模型: Documentation/driver-api/driver-model/driver.rst
- 设备驱动程序: Documentation/driver-api/infrastructure.rst
- 总线类型: Documentation/driver-api/driver-model/bus.rst
- 设备树绑定: Documentation/devicetree/bindings/
- 电源管理: Documentation/driver-api/pm/index.rst
- DMA API: Documentation/core-api/dma-api.rst
发行版维护者
打包并分发内核:
- 稳定内核规则: Documentation/process/stable-kernel-rules.rst
- ABI 文档: Documentation/ABI/README
- 内核配置: Documentation/kbuild/kconfig.rst
- 模块签名: Documentation/admin-guide/module-signing.rst
- 内核参数: Documentation/admin-guide/kernel-parameters.rst
- 受污染的内核: Documentation/admin-guide/tainted-kernels.rst
AI 编码助手
重要提示:如果您是 LLM 或 AI 驱动的编码助手,在向 Linux 内核提交贡献之前,您必须阅读并 遵循 AI 编码助手文档:
- Documentation/process/coding-assistants.rst
该文档包含所有 AI 工具必须遵守的关于许可、署名 以及开发者起源证书(Developer Certificate of Origin)的基本要求。
沟通与支持
- 邮件列表:https://lore.kernel.org/
- IRC:irc.oftc.net 上的 #kernelnewbies
- Bugzilla:https://bugzilla.kernel.org/
- MAINTAINERS 文件:列出子系统维护者和邮件列表
- 邮件客户端:Documentation/process/email-clients.rst