News › performance

Linux 7.4 starts integrating kernel-build speedups

By The Linux Camp News, October 22, 2026

An initial batch targets symbol processing, repeated toolchain checks, linking and gzip compression. Its build-time benefit has not yet been isolated in the supplied benchmarks.

Linux 7.4 has begun receiving Lorenzo Stoakes's kernel-build speedups, according to Phoronix's October 21, 2026 report. This is an initial integration during development, not the entire optimization series. Nathan Chancellor's Kbuild pull request describes the batch as an initial set accompanied by fixes found during testing. 1 2

One target is repeated toolchain probing: checks that determine whether the compiler or linker accepts an option. Many cc-option and ld-option checks move into Kconfig, the kernel configuration stage, so their results can be cached rather than repeatedly obtained. The change saves work by reusing answers; it does not eliminate every toolchain check. 2

Symbol processing gets a separate treatment. Kallsyms indexes symbols by token to accelerate symbol-table compression, then writes binary data directly to disk for inclusion in assembly through .incbin. That directive includes the binary payload. The changes target both compression and the output-and-assembly work needed to incorporate the table into the kernel. 2

Other changes trim intermediate work: nm output is no longer sorted where ordering is irrelevant, and relocations are emitted only on the final vmlinux link rather than earlier links. The batch also avoids allocating .modinfo in vmlinux and reimplements mksysmap in C. The maintainer's summary does not assign individual timing gains to these changes. 2

For engineers building kernels, one concrete build-host dependency is worth checking: gzip compression uses pigz when available. Consequently, that particular optimization depends on both a gzip compression workflow and pigz being present on the builder. Checking those conditions establishes eligibility, not the size of any speedup; the summary makes no corresponding claim for other compression formats. 2

As of the October 22 source retrieval, the supplied reporting did not isolate the merged subset's performance. Phoronix planned fresh build benchmarks after Linux 7.4-rc1. Treat this as a change to evaluate in a build workflow, not a quantified reduction to apply to build-time budgets. 1

Sources

Courses