linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Solved] Building kernels under 5.10 takes twice as long as under 4.19
@ 2021-03-19 20:27 Rainer Fiebig
  0 siblings, 0 replies; only message in thread
From: Rainer Fiebig @ 2021-03-19 20:27 UTC (permalink / raw)
  To: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 1088 bytes --]

Bit the bullet, bisected v5.5..v5.6 and found this:

0ddad21d3e99c743a3aa473121dc5561679e26bb is the first bad commit
commit 0ddad21d3e99c743a3aa473121dc5561679e26bb
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Mon Dec 9 09:48:27 2019 -0800

    pipe: use exclusive waits when reading or writing


[...]
[ Note! This kernel improvement seems to be very good at triggering a
race condition in the make jobserver (in GNU make 4.2.1) for me. It's a
long known bug that was fixed back in June 2017 by GNU make commit
b552b0525198 ("[SV 51159] Use a non-blocking read with pselect to
avoid hangs.").

But there wasn't a new release of GNU make until 4.3 on Jan 19 2020,
so a number of distributions may still have the buggy version. Some
have backported the fix to their 4.2.1 release, though, and even
without the fix it's quite timing-dependent whether the bug actually
is hit. ]
[...]


After updating "make" to 4.3 all is well.

Feynman was right again. ;)

-- 
The truth always turns out to be simpler than you thought.
Richard Feynman


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-19 20:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-19 20:27 [Solved] Building kernels under 5.10 takes twice as long as under 4.19 Rainer Fiebig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).