Linus Torvalds posts his first LLM-assisted patch series

Linus Torvalds's first LLM-assisted patch series

At the Maintainers Summit, Linus Torvalds revealed he had used a large language model to develop a patch series addressing a longstanding kernel issue. The ten-patch set enhances folio lookup by marking hot folios and delaying their release until after an RCU period, allowing both lookup and data access under RCU without refcounting on the fast path. This yields an order-of-magnitude speedup for read()-heavy benchmarks. However, review has already identified a race condition, so further work is needed.

The end result is an order-of-magnitude speedup for a read()-heavy benchmark.

More from this day

2026-10-14