Skip to content
Trending storyDeveloping

Linus submits first LLM-assisted kernel patch set

1 report1 sourceupdated 4 hours ago

What happened

AI digest

On October 15, reports said Linus Torvalds submitted the first set of kernel patches written with large language model assistance for review. The 10 patches defer freeing hot folios so data access can also happen inside RCU-protected regions; when user data copies do not fault, reference counting on the fast path is avoided. The report says the approach delivered an order-of-magnitude speedup in read()-heavy benchmarks. The patches are still under review, and review has found race conditions that need further changes.

Written by AI from the coverage · updated 2 hours ago

Coverage

Follow the reports to see the story from different sides.

Oct 15
  1. Hacker News front page
    Linus Torvalds's first LLM-assisted patch series

    Linus Torvalds 已提交首组大语言模型辅助编写的内核补丁供审查,在以 read() 为主的基准测试中实现了一个数量级的加速。这组 10 个补丁通过延迟释放热点 folio,使数据访问也能在 RCU 保护区域内完成,在用户数据复制不触发缺页时避免快速路径上的引用计数操作。审查已发现代码存在竞态条件,补丁还需要进一步修改。

Heat over time

Not enough continuous observations to draw a trend yet.