From: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>
To: Nicolas Schier <n.schier@fritz.com>
Cc: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
"Linus Torvalds" <torvalds@linux-foundation.org>,
"Nathan Chancellor" <nathan@kernel.org>,
"Nick Desaulniers" <ndesaulniers@google.com>,
"Bill Wendling" <morbo@google.com>,
"Justin Stitt" <justinstitt@google.com>,
"Geert Uytterhoeven" <geert@linux-m68k.org>,
"Luis Chamberlain" <mcgrof@kernel.org>,
"Petr Pavlu" <petr.pavlu@suse.com>,
"Daniel Gomez" <da.gomez@kernel.org>,
"Sami Tolvanen" <samitolvanen@google.com>,
"Aaron Tomlin" <atomlin@atomlin.com>,
"Josh Poimboeuf" <jpoimboe@kernel.org>,
"Peter Zijlstra" <peterz@infradead.org>,
"Miguel Ojeda" <ojeda@kernel.org>,
"Boqun Feng" <boqun@kernel.org>, "Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <lossin@kernel.org>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Alice Ryhl" <aliceryhl@google.com>,
"Trevor Gross" <tmgross@umich.edu>,
"Danilo Krummrich" <dakr@kernel.org>,
"Daniel Almeida" <daniel.almeida@collabora.com>,
"Tamir Duberstein" <tamird@kernel.org>,
"Alexandre Courbot" <acourbot@nvidia.com>,
"Onur Özkan" <work@onurozkan.dev>,
linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
llvm@lists.linux.dev, linux-m68k@lists.linux-m68k.org,
linux-modules@vger.kernel.org, rust-for-linux@vger.kernel.org,
"Kees Cook" <kees@kernel.org>
Subject: Re: [PATCH v5 00/11] kbuild: significantly speed up kernel builds
Date: Fri, 4 Dec 2026 19:40:31 +0000 [thread overview]
Message-ID: <axMXEU_VJ09KEgLx@gremlin> (raw)
In-Reply-To: <20261204-impetuous-just-chamois-7df3ba@l-nschier-aarch64>
On Fri, Dec 04, 2026 at 05:02:47PM +0100, Nicolas Schier wrote:
> On Fri, Dec 04, 2026 at 03:56:08PM +0100, Uwe Kleine-König wrote:
> > On Wed, Nov 04, 2026 at 06:20:18PM +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.
> >
> > On top of next-20261130 a build test with ARCH=m68k of mine experienced:
> >
> > cp vmlinux vmlinux.tmp
> > m68k-linux-gnu-strip vmlinux.tmp
> > gzip -9c vmlinux.tmp >vmlinux.gz
> > cp vmlinux vmlinux.tmp
> > gzip: vmlinux.tmp: file size changed while zipping
> > rm vmlinux.tmp
> > m68k-linux-gnu-strip vmlinux.tmp
> > m68k-linux-gnu-strip: 'vmlinux.tmp': No such file
> > make[3]: Leaving directory '/home/uwe/work/kbuild/m68k'
> > make[3]: *** [/home/uwe/gsrc/linux/arch/m68k/Makefile:107: vmlinux.gz] Error 1
> >
> > It built fine on retrying (which I guess isn't a big surprise).
> >
> > I didn't try to bisect, but it seems to fit the other errors reported
> > here, so I just throw in my error, too.
>
> Thanks for the report. This is actually a long-standing issue that
> shows up now. 'make -j2 ARCH=m68k vmlinux.gz vmlinux.bz2' was able to
> trigger that before. A fix is proposed at
> https://lore.kernel.org/r/20261204-kbuild-m68k-use-target-specific-temp-files-v1-1-afcc9016a0ce@fritz.com
Ah nice, glad that this is being looked at and obv. that this one wasn't me
:P
(Am sending out a respin in a second anyway)
>
> --
> Nicolas
--
Cheers, Lorenzo
prev parent reply other threads:[~2026-12-04 19:40 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 18:20 [PATCH v5 00/11] kbuild: significantly speed up kernel builds Lorenzo Stoakes (ARM)
2026-11-04 18:20 ` [PATCH v5 01/11] kbuild: calculate list, composite object state per object Lorenzo Stoakes (ARM)
2026-11-12 4:13 ` Nathan Chancellor
2026-11-04 18:20 ` [PATCH v5 02/11] kbuild: implement and use depcheck to check dependency timestamps Lorenzo Stoakes (ARM)
2026-11-04 18:20 ` [PATCH v5 03/11] modpost: cache section relocation mismatch state Lorenzo Stoakes (ARM)
2026-11-09 16:43 ` Petr Pavlu
2026-11-12 4:13 ` Nathan Chancellor
2026-11-04 18:20 ` [PATCH v5 04/11] modpost: emit module descriptors as assembly Lorenzo Stoakes (ARM)
2026-11-09 16:45 ` Petr Pavlu
2026-11-12 4:13 ` Nathan Chancellor
2026-11-04 18:20 ` [PATCH v5 05/11] kbuild: batch module finalisation Lorenzo Stoakes (ARM)
2026-11-12 4:13 ` Nathan Chancellor
2026-11-04 18:20 ` [PATCH v5 06/11] objtool: do not hash DWARF relocations Lorenzo Stoakes (ARM)
2026-11-04 18:20 ` [PATCH v5 07/11] objtool: cache relocations, do less work, eliminate relocation hash Lorenzo Stoakes (ARM)
2026-11-12 5:45 ` Josh Poimboeuf
2026-11-12 8:00 ` Lorenzo Stoakes (ARM)
2026-11-04 18:20 ` [PATCH v5 08/11] objtool: size the instruction hash to the text Lorenzo Stoakes (ARM)
2026-11-04 18:20 ` [PATCH v5 09/11] objtool: decode instructions and resolve branch targets in parallel Lorenzo Stoakes (ARM)
2026-11-04 18:20 ` [PATCH v5 10/11] rust: make exports.o depend on the headers generated for it Lorenzo Stoakes (ARM)
2026-11-11 16:04 ` Gary Guo
2026-11-04 18:20 ` [PATCH v5 11/11] kbuild: build rust crates in parallel with the rest of the build Lorenzo Stoakes (ARM)
2026-12-04 14:56 ` [PATCH v5 00/11] kbuild: significantly speed up kernel builds Uwe Kleine-König
2026-12-04 16:02 ` Nicolas Schier
2026-12-04 19:40 ` Lorenzo Stoakes (ARM) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=axMXEU_VJ09KEgLx@gremlin \
--to=ljs@kernel.org \
--cc=a.hindborg@kernel.org \
--cc=acourbot@nvidia.com \
--cc=aliceryhl@google.com \
--cc=atomlin@atomlin.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun@kernel.org \
--cc=da.gomez@kernel.org \
--cc=dakr@kernel.org \
--cc=daniel.almeida@collabora.com \
--cc=gary@garyguo.net \
--cc=geert@linux-m68k.org \
--cc=jpoimboe@kernel.org \
--cc=justinstitt@google.com \
--cc=kees@kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=linux-modules@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=lossin@kernel.org \
--cc=mcgrof@kernel.org \
--cc=morbo@google.com \
--cc=n.schier@fritz.com \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=ojeda@kernel.org \
--cc=peterz@infradead.org \
--cc=petr.pavlu@suse.com \
--cc=rust-for-linux@vger.kernel.org \
--cc=samitolvanen@google.com \
--cc=tamird@kernel.org \
--cc=tmgross@umich.edu \
--cc=torvalds@linux-foundation.org \
--cc=u.kleine-koenig@baylibre.com \
--cc=work@onurozkan.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox