[PATCH v2 14/21] kbuild: batch module finalisation

Kees Cook kees at kernel.org
Mon Sep 14 11:00:27 PDT 2026


On Mon, Sep 14, 2026 at 10:22:13AM +0100, Lorenzo Stoakes (ARM) wrote:
> Module finalisation on allmodconfig builds consists of a large number of
> very short-lived jobs, and the make job dispatcher cannot possibly dispatch
> jobs fast enough.

This "cannot possibly" sounds like a weird LLM language intensifier. I'd
rather a concrete description of the problem, not this kind of
(redundant?) vagueness.

> [...]
> Fix this by splitting modules.order into chunks of 128 at a time, run in
> parallel.

Why "128"? This seems tied to the 128-thread test machine, but ends up
getting hard-coded, but this choice of value needs some rationale, IMO.

-- 
Kees Cook



More information about the linux-riscv mailing list