From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-a3-smtp.messagingengine.com (fout-a3-smtp.messagingengine.com [103.168.172.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE9FB387359; Wed, 16 Sep 2026 06:38:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.146 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789540740; cv=none; b=m11oz6Tby2tcJT5hODgMGdcYZ6c62tbjRxzW6VkLJ2+HWj/nbQgSJ3d9pqiSNrM4qGbDALwH7oa9SJ4+/O0LRFTy2aCTjeP8ckVWT2qOm/2W3CbNMM7m4i86OoUmuEdaBz0CgexUabHEh7Ub+PcYHE+2fFOeZ0mUT2NFcfW4wmY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789540740; c=relaxed/simple; bh=iU6G2m+wrmWgfgn/0yBm7PYayX0WyU1SDB3L2Fyqpfs=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=XKBlvbVIRYSRnXhH+Udpl4piM0eDFPxpB5WAG1Y+IXUJTbc3u9P/6Kjg5xEZsl50nHa7MD2jmw3OsQtNAz7KVVDgHbXop9g8wCE3+XUWW2ngEljXTCQnRGEnxO06vtD22+TZ1TO9QGUuJw8mrZylgrEScTlRUx7Ywc/RNqN0jdQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=WF8L+S0u; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=i/DWAvvF; arc=none smtp.client-ip=103.168.172.146 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="WF8L+S0u"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="i/DWAvvF" Received: from ams-compute-02.internal (ams-compute-02.internal [10.64.2.62]) by mailfout.phl.internal (Postfix) with ESMTP id 6CA02EC0E91; Wed, 16 Sep 2026 02:38:56 -0400 (EDT) Received: from ams-imap-03 ([10.64.2.23]) by ams-compute-02.internal (MEProxy); Wed, 16 Sep 2026 02:38:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1789540736; x=1789627136; bh=uVDBK2xNAXhHDNCHOU+SjarglqFyyWlJ3wc704FVprE=; b= WF8L+S0ufzaPlWCsrRRscgGvgAxgZTFT+tJOeBIsio2KJN8+5FOYORwMwAkYdAOn WyeMCKtF8mm6kAVkl3ezLOHPn4sWcfrc3TtTlIAVkU4Z+lC7DeFfiJxi9WUYc98v xn6tB9DwYlFirjYuSyT2YIzx5LvmzTHXkA+Tyapwgr7/Ao1mghZIe0vXYCmEDt+7 lbXCembmc9Cb8C6tbXyDJura9NlgqslmfHKo1IyLcoHsYVSetjh24+avMUhllgSr /QXXceV15HR5ULX4gpX4QQSe1yHg1LCrqr7/SWm9qR8HbV1R5tsY/ZXsNjnvBHC8 S4t6xtOCNjXtUKAflg7x3w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1789540736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7HHm91yFsWFGbYK7K8PcEoM91m6HTdE2pK3aEw3swkohYrMYOQ X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.ams.internal (Postfix, from userid 501) id EA77F32A0085; Wed, 16 Sep 2026 02:38:53 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ThreadId: ArHA-gVR6p-N Date: Wed, 16 Sep 2026 08:38:33 +0200 From: "Arnd Bergmann" To: "Kees Cook" , "Lorenzo Stoakes" Cc: "Linus Torvalds" , "Nathan Chancellor" , "Nicolas Schier" , "Nick Desaulniers" , "Bill Wendling" , "Justin Stitt" , "Masahiro Yamada" , "Alexey Gladkov" , "Thomas Gleixner" , "Ingo Molnar" , "Borislav Petkov" , "Dave Hansen" , x86@kernel.org, "H. Peter Anvin" , "Paul Walmsley" , "Palmer Dabbelt" , "Albert Ou" , "Alexandre Ghiti" , "Catalin Marinas" , "Will Deacon" , "Mark Rutland" , "Ard Biesheuvel" , "Ilias Apalodimas" , "Josh Poimboeuf" , "Peter Zijlstra" , "Miguel Ojeda" , "Boqun Feng" , "Gary Guo" , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , "Benno Lossin" , "Andreas Hindborg" , "Alice Ryhl" , "Trevor Gross" , "Danilo Krummrich" , "Daniel Almeida" , "Tamir Duberstein" , "Alexandre Courbot" , =?UTF-8?Q?Onur_=C3=96zkan?= , "Jonathan Corbet" , "Randy Dunlap" , "Gustavo A. R. Silva" , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, linux-riscv@lists.infradead.org, Linux-Arch , linux-arm-kernel@lists.infradead.org, linux-efi@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-doc@vger.kernel.org, "Jens Axboe" , linux-hardening@vger.kernel.org Message-Id: <081b2b60-e295-4cd7-b201-d996a88c5f28@app.fastmail.com> In-Reply-To: <202609151758.BA5732348@keescook> References: <20260914-build-speedup-v2-0-39817ec5db23@kernel.org> <20260914-build-speedup-v2-21-39817ec5db23@kernel.org> <202609151758.BA5732348@keescook> Subject: Re: [PATCH v2 21/21] kbuild: use pigz for gzip compression if available Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, Sep 16, 2026, at 03:06, Kees Cook wrote: > On Mon, Sep 14, 2026 at 10:22:20AM +0100, Lorenzo Stoakes (ARM) wrote: > > Makefile: > > KPGZIP := $(if $(shell command -v pigz 2>/dev/null),$(PYTHON3) > $(abs_srctree)/scripts/jobserver-exec > $(abs_srctree)/scripts/parallel-gzip,gzip) > > and the same scripts/parallel-gzip: > > #!/bin/sh > exec pigz -p ${PARALLELISM:-1} "$@" > > And then replace the /boot/ KGZIP uses with KPGZIP. Then we don't need > to change modules, config_data, new users, nor cmd_gzip, etc, which all > continue to use the regular KGZIP and the "use python" part for the > KPGZIP case becomes is a 1-time cost? Nice, I like the idea and this this will work. I didn't know about scripts/jobserver-exec, but this does seem like a perfect fit. I checked the other compression tools we support, and found that zstd is another one that has built-in support for parallel compression, so we probably want to have it there as well. Arnd