news 2026/7/9 21:49:24

Toward a policy for machine-learning tools in kernel development

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
Toward a policy for machine-learning tools in kernel development

The first topic of discussion at the 2025 Maintainers Summit has been in the air for a while: what role — if any — should machine-learning-based tools have in the kernel development process? While there has been a fair amount of controversy around these tools, and concerns remain, it seems that the kernel community, or at least its high-level maintainership, is comfortable with these tools becoming a significant part of the development process.
2025 年 Maintainers Summit 的第一个讨论主题其实已经酝酿了一段时间:基于机器学习的工具在内核开发流程中究竟应该扮演什么角色(如果有的话)?尽管围绕这些工具存在不少争议,相关担忧也依然存在,但内核社区——至少是高层维护者——似乎已经接受这些工具将成为开发流程中一个重要组成部分。

Sasha Levin began the discussion by pointing to a summary he had sent to the mailing lists a few days before. There is some consensus, he said, that human accountability for patches is critical, and that use of a large language model in the creation of a patch does not change that. Purely machine-generated patches, without human involvement, are not welcome. Maintainers must retain the authority to accept or reject machine-generated contributions as they see fit. And, he said, there is agreement that the use of tools should be disclosed in some manner.
Sasha Levin 以他几天前发到邮件列表的一份总结作为讨论的开场。他表示,大家在一些问题上已经达成共识:补丁必须有人类负责,使用大语言模型来生成补丁并不会改变这一点。完全由机器生成、没有任何人工参与的补丁是不受欢迎的。维护者必须保留根据自身判断接受或拒绝机器生成贡献的权力。此外,大家也普遍同意,应当以某种方式披露工具的使用情况。


Just tools?

只是工具吗?

But, he asked the group: is there agreement in general that these tools are, in the end, just more tools? Steve Rostedt said that LLM-generated code may bring legal concerns that other tools do not raise, but Greg Kroah-Hartman answered that the current developers certificate of origin ("Signed-off-by") process should cover the legal side of things.
但他也向与会者提问:大家是否总体上同意,这些工具最终不过是“更多的工具”?Steve Rostedt 表示,LLM 生成的代码可能带来其他工具不会引发的法律风险;而 Greg Kroah-Hartman 回应称,现有的开发者来源证明(DCO,即 “Signed-off-by”)流程应该已经覆盖了法律层面的责任问题。

Rostedt agreed that the submitter is ultimately on the hook for the code they contribute, but he wondered about the possibility of some court ruling that a given model violates copyright years after the kernel had accepted code it generated. That would create the need for a significant cleanup effort.
Rostedt 同意提交者最终要对自己提交的代码负责,但他担心一种可能性:在内核已经接受了某个模型生成的代码多年之后,法院裁定该模型侵犯了版权。这种情况下,内核可能需要进行一次规模巨大的清理工作。

Ted Ts'o said that people worry about the copyright problems, but those same problems exist even in the absence of these tools. Developers could, for example, submit patches without going through the processes required by their employer — patches which, as a

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/6/29 0:22:09

Windows程序设计第5版珍藏版,为何值得开发者收藏?

对于许多Windows平台的开发者而言,选择一本兼具深度与经典价值的编程指南至关重要。《Windows程序设计(第5版)》及其“珍藏版”在圈内享有盛誉,它系统性地讲解了Win32 API编程的核心思想,是理解Windows操作系统运作机理…

作者头像 李华
网站建设 2026/7/3 1:08:35

GVim中文乱码解决与输入法优化指南

对中文用户来说,在GVim中顺畅地编辑和处理中文文本是一个常见的需求。这涉及到正确的显示、输入、保存以及搜索等多个环节,其中任何一个环节配置不当,都会影响工作效率。本文将围绕几个核心痛点,提供具体可行的解决方案&#xff0…

作者头像 李华
网站建设 2026/7/2 16:40:15

5个核心概念助你理解YashanDB数据库的架构

随着数据量的急剧增加和业务需求的多样化,数据库架构的复杂性也随之提升。尤其是在面临性能瓶颈和数据一致性问题时,深入理解数据库的架构显得尤为重要。YashanDB作为一种新兴数据库解决方案,因其灵活的部署架构和高效的存储方式而备受关注。…

作者头像 李华
网站建设 2026/7/1 22:10:18

基于ISO 27001的数据安全选型:构建企业信息安全管理体系

一、ISO 27001 核心诉求:数据安全选型的 “合规锚点”ISO 27001(信息安全管理体系)的核心是 “风险导向 全生命周期管控”,其 11 个控制域(如访问控制、资产管理、数据备份、合规性)直接定义了数据安全选型…

作者头像 李华
网站建设 2026/7/2 8:15:22

假如你从2026年开始学AI大模型要多久学会?

无论是想转行 AI 的职场人、学生党,还是想深耕技术的爱好者,跟着这套流程走,从数学小白到能独立调参、做项目,成就感拉满~ 📚 第一阶段:基础打底期(1-3 个月) 核心目标…

作者头像 李华