Re: [PATCH v6 0/7] kbuild: significantly speed up kernel builds

From: Nicolas Schier

Date: Wed Nov 25 2026 - 05:03:11 EST


On Tue, 24 Nov 2026 12:20:10 +0000, Lorenzo Stoakes (ARM) wrote:
> A typical kernel build consists of a frustratingly large amount of time
> spent stuck in single-threaded bottlenecks.
>
> It turns out that there's a lot we can do about this and doing so
> significantly impacts kernel build times.
>
> This series makes allmodconfig builds up to 36% faster, incremental builds
> up to ~70% faster, and noop builds up to ~90% faster.
>
> [...]

Patches 1 and 3-5 applied to kbuild/linux.git (kbuild-next-unstable), thanks!

[1/7] kbuild: calculate list, composite object state per object
https://git.kernel.org/kbuild/c/d3c49492
[3/7] modpost: cache section relocation mismatch state
https://git.kernel.org/kbuild/c/db57178f
[4/7] modpost: emit module descriptors as assembly
https://git.kernel.org/kbuild/c/4894ced3
[5/7] kbuild: batch module finalisation
https://git.kernel.org/kbuild/c/81593e2e

Please look out for regression or issue reports or other follow up
comments, as they may result in the patch/series getting dropped,
reverted or modified (e.g. trailers).

Patches applied to the kbuild-next-unstable branch are accepted pending
wider testing in linux-next and any post-commit review; they will
generally be moved to the kbuild-next branch in about a week if no
issues are found.

Best regards,
--
Nicolas