[PATCH v4 00/22] kbuild: significantly speed up kernel builds

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Sun Nov 1 14:16:00 PST 2026


Hello:

This series was applied to riscv/linux.git (fixes)
by Nathan Chancellor <nathan at kernel.org>:

On Wed, 23 Sep 2026 18:17:49 +0100 you 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.
> 
> [...]

Here is the summary with links:
  - [v4,01/22] kbuild: do not allocate .modinfo in vmlinux
    https://git.kernel.org/riscv/c/5fe4dd596641
  - [v4,02/22] kallsyms: index symbols by token to speed up table compression
    https://git.kernel.org/riscv/c/6f014bf46faf
  - [v4,03/22] kallsyms: output binary data to speed output and kallsyms assembly
    https://git.kernel.org/riscv/c/83da9f3197e5
  - [v4,04/22] sorttable: parse nm output correctly
    https://git.kernel.org/riscv/c/4719513c0fa2
  - [v4,05/22] kbuild: do not sort nm output where the order is irrelevant
    https://git.kernel.org/riscv/c/c2970d8b52d1
  - [v4,06/22] kbuild: only emit vmlinux relocations when required
    https://git.kernel.org/riscv/c/8050568e0a46
  - [v4,07/22] elf-parse: add section flags, symbol binding and mapping helpers
    https://git.kernel.org/riscv/c/5005f8043c09
  - [v4,08/22] kallsyms: reimplement mksysmap in C
    https://git.kernel.org/riscv/c/531980b4b17e
  - [v4,09/22] kbuild: calculate list, composite object state per object
    (no matching commit)
  - [v4,10/22] kbuild: implement and use depcheck to check dependency timestamps
    (no matching commit)
  - [v4,11/22] kbuild: move the toolchain checks into scripts/Kconfig.toolchain
    https://git.kernel.org/riscv/c/f85147b291e3
  - [v4,12/22] kbuild: avoid re-running compiler and linker probes
    https://git.kernel.org/riscv/c/454e00cf8ee5
  - [v4,13/22] modpost: cache section relocation mismatch state
    (no matching commit)
  - [v4,14/22] modpost: emit module descriptors as assembly
    (no matching commit)
  - [v4,15/22] kbuild: batch module finalisation
    (no matching commit)
  - [v4,16/22] objtool: do not hash DWARF relocations
    (no matching commit)
  - [v4,17/22] objtool: cache relocations, do less work, eliminate relocation hash
    (no matching commit)
  - [v4,18/22] objtool: size the instruction hash to the text
    (no matching commit)
  - [v4,19/22] objtool: decode instructions and resolve branch targets in parallel
    (no matching commit)
  - [v4,20/22] rust: make exports.o depend on the headers generated for it
    (no matching commit)
  - [v4,21/22] kbuild: build rust crates in parallel with the rest of the build
    (no matching commit)
  - [v4,22/22] kbuild: compress the kernel with pigz if available
    https://git.kernel.org/riscv/c/48ebe1cbbeb5

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-riscv mailing list