Linus Torvalds posts his first AI-assisted patch to the Linux kernel, synthetic test clocks 23x performance leap — the bossman makes use of AI tooling himself after issuing clear pro-AI directives
Linus Torvalds has posted his first LLM-assisted patch to the Linux kernel, fixing a long-standing cache contention issue when many CPUs read the same file, with synthetic tests showing a 23x performance leap. The move follows his earlier pro-AI contribution directives for the kernel project.
# Linus Torvalds posts his first AI-assisted patch to the Linux kernel, synthetic test clocks 23x performance leap — the bossman makes use of AI tooling himself after issuing clear pro-AI directives
Source: [https://www.tomshardware.com/software/linux/linus-torvalds-posts-his-first-llm-assisted-patch-to-the-linux-kernel-after-issuing-clear-pro-ai-directives-the-bossman-makes-use-of-ai-tooling-himself](https://www.tomshardware.com/software/linux/linus-torvalds-posts-his-first-llm-assisted-patch-to-the-linux-kernel-after-issuing-clear-pro-ai-directives-the-bossman-makes-use-of-ai-tooling-himself)
\(Image credit: Getty Images\)
After a few revisions of his position on AI\-assisted contributions to the Linux kernel, Linus Torvalds has posted his own first LLM\-assisted patch\. The development branch purports to fix an old issue with massive cache contention when many CPUs are reading the same file — a scenario potentially encountered when using shared libraries, databases, and web servers\. Several developers had already made attempts over the years at fixing the issue, all with varied results, none quite ideal as an all\-encompassing solution\.
Go deeper with TH Premium: AI and data centers
Get Tom's Hardware's best news and in\-depth reviews, straight to your inbox\.
Bruno Ferreira is a contributing writer for Tom's Hardware\. He has decades of experience with PC hardware and assorted sundries, alongside a career as a developer\. He's obsessed with detail and has a tendency to ramble on the topics he loves\. When not doing that, he's usually playing games, or at live music shows and festivals\.
Linus Torvalds, the creator of Linux, used AI tools to debug a bug in an Intel GPU driver, highlighting the growing integration of AI in open-source development workflows.
Linus Torvalds describes Linux Kernel 7.2 as "huge" because AI tools are now reviewing kernel code faster than humans, despite his earlier criticism of low-quality AI-generated patches and bug reports. He accepts this as the new normal, noting Linux is not an anti-AI project.
The article discusses the integration of AI tools like LLMs in Linux kernel development, highlighting Linus Torvalds' support for AI-assisted code and the controversy around the new Sashiko code review tool, while critiquing Torvalds' dismissal of ethical concerns.
Linus Torvalds reaffirms that the Linux kernel project is not anti-AI, stating that AI/LLMs are useful tools and that he will not tolerate attacks on developers who use them.