# \[$\] Accelerating the kernel's build process

DevFeed: [\[$\] Accelerating the kernel's build process](<https://devfeed.tech/articles/accelerating-the-kernel-s-build-process-8499.md>)

Original publisher: [Read original article](<https://lwn.net/Articles/1093398/>)

Author: corbet

Published: 2026-09-11T14:15:32Z

Content type: article

Language: en

Sources: [LWN.net](<https://devfeed.tech/sources/lwn-net.md>)

Topics: [Linux Kernel](<https://devfeed.tech/topics/linux-kernel.md>), [build times](<https://devfeed.tech/topics/build-times.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>), [Build tool](<https://devfeed.tech/topics/build-tool.md>), [make](<https://devfeed.tech/topics/make.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [build-performance](<https://devfeed.tech/tags/build-performance.md>), [build-system](<https://devfeed.tech/tags/build-system.md>), [builds](<https://devfeed.tech/tags/builds.md>), [developers](<https://devfeed.tech/tags/developers.md>), [fast](<https://devfeed.tech/tags/fast.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [llm](<https://devfeed.tech/tags/llm.md>), [machine](<https://devfeed.tech/tags/machine.md>), [process](<https://devfeed.tech/tags/process.md>), [reduce](<https://devfeed.tech/tags/reduce.md>), [system](<https://devfeed.tech/tags/system.md>), [time](<https://devfeed.tech/tags/time.md>)

## AI overview

Lorenzo Stoakes's 23-patch series targets wasted work across the kernel build: it limits kallsyms substitutions to symbols where they apply, bypasses some assembler and nm steps, speeds dependency checks, caches compiler and modpost data, and batches or parallelizes module work. The cover letter reports up to 36% faster allmodconfig, 70% faster incremental, and 90% faster no-op builds. In the author's clean-ccache test, a full build fell from about 960 to 860 seconds; with a populated ccache, the gain was only a few seconds on a roughly 90-second build. Some proposed improvements may be dropped or could be superseded by direct ELF generation. Parallel Rust compilation is the main stated build-risk: rustc parallel builds have not fully stabilized; building Rust alongside C is described as safer.

## Source excerpt

Kernel developers do a lot of kernel builds. Since the kernel is not a small program, those builds can take a fair amount of time, even on a fast machine. The kernel also has a complex build system; it is probably fair to say that few developers truly understand it, and fewer still are willing to try to improve it. Lorenzo Stoakes, armed with LLM-based assistance, decided to give it a try, though, and has managed to reduce the time it takes to build a kernel -- and not by a small amount.