Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2848544rdb; Fri, 22 Sep 2023 09:56:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFIiksGsWL7gqVJFLxT2W2ocPjehcmx2dIBDCV67To0eRLyVCVbmtzfCewy+h3EbPDXoUQJ X-Received: by 2002:a17:902:7791:b0:1bb:dc48:644a with SMTP id o17-20020a170902779100b001bbdc48644amr42817pll.49.1695401776305; Fri, 22 Sep 2023 09:56:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695401776; cv=none; d=google.com; s=arc-20160816; b=npo1mkmBY8H2qleWG4LMl2MBq9K1ILNrTY+vERCZ3zAxyAkXlf2A6OJk8UvmQR3ulP 3+GDJP2pb580PMVuJtt8e7nXcw6kfr/E2DBmf9gjcGNydsqJSsab2M4NFFnKFvdEf/ki mMFueqTx9cDx5J7mbA/uYRbfT6pa3asWKi8HeFWhj3ld0ozQS8AFv+UD9fz75U0pYCH5 bkpenrCaYSh5aDnBW2m1Yav/LhIWnf8ngrRPSRKb+9x4TNGLsy2DMvhOeJ4sHtQM9rpW XCzHE5YzSmojvFAhLjrTXl8SEFT0O+xC6G7tXWOMe05GExFDkZ9CFutQ8k2gf36WjBWP nWZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=a37WoNlVCXWNUAlnKXdlKilZ9yuXur0mI9QSS9RZ6+Q=; fh=o4OsFPi5eNVvDCp04++iQnHPVTlbIgj5XgQMIRYoCj4=; b=mnxWlHInZQhk62joQtfdJ5/mZPzjaPczu/TomCobvQ0KTCWGnGq8JtUWzvziRuwke8 GxruOXpsgQ+mZ7UqOsF4rUvK/0DT3DasAh7qBGZbCf4kIx8bt2td5WySlevb8j9grROv h3wFrEal5UCys/bHcE8+sZ4+vxXLoj/9tQwidPoW7ugmHs3yiIq4TqHR9O9ptHbaPKyN iRkrYbVUwI+x5AAYIxMiGllxebXCcBVNikUsNksabF2mnk/zlR4CKIvPBMfof9Hp0fWl UWMWhq2iKEpAzW9f6s7TYqWMVQ58Ta8zv6ClcbmU/exWYCPsvnPHTHhxZG8I3vZgauTT H8bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@avm.de header.s=mail header.b=hoCOuDrz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=avm.de Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id n3-20020a170903404300b001b8921fbd87si3905221pla.490.2023.09.22.09.56.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 09:56:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@avm.de header.s=mail header.b=hoCOuDrz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=avm.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 7FCD482D66C3; Fri, 22 Sep 2023 02:16:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229542AbjIVJQv (ORCPT + 99 others); Fri, 22 Sep 2023 05:16:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229629AbjIVJQt (ORCPT ); Fri, 22 Sep 2023 05:16:49 -0400 Received: from mail.avm.de (mail.avm.de [212.42.244.119]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2509B114 for ; Fri, 22 Sep 2023 02:16:41 -0700 (PDT) Received: from mail-auth.avm.de (dovecot-mx-01.avm.de [212.42.244.71]) by mail.avm.de (Postfix) with ESMTPS; Fri, 22 Sep 2023 11:16:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=avm.de; s=mail; t=1695374193; bh=LtM687oI9TFrYjIfRJXzHSYw7X0NRDTTPtB/S1Bg2W0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hoCOuDrzKh4zqLMGadFkno5hxDh0k+e57tQ8xBuyXabTB30GvYpf834/8jAkI8u+Z 7jQvWkWY46vyzwF+KwMR2eiMhiP3Y0/ulQ6hjg9YvXN4hhK56HH/UCM6xDq9xiawf+ nA1urMKKbcLTlxTy7XtH33lU+Ymcd1+9lVdRC1iE= Received: from buildd.core.avm.de (buildd-sv-01.avm.de [172.16.0.225]) by mail-auth.avm.de (Postfix) with ESMTPA id BAD0080A71; Fri, 22 Sep 2023 11:16:32 +0200 (CEST) Received: by buildd.core.avm.de (Postfix, from userid 1000) id ADFE71813CA; Fri, 22 Sep 2023 11:16:32 +0200 (CEST) Date: Fri, 22 Sep 2023 11:16:32 +0200 From: Nicolas Schier To: Martin Nybo Andersen Cc: Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nick Terrell , Nicolas Schier , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-modules@vger.kernel.org Subject: Re: [PATCH] Use CRC32 and a 1MiB dictionary for XZ compressed modules Message-ID: Mail-Followup-To: Martin Nybo Andersen , Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nick Terrell , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-modules@vger.kernel.org References: <3d34a965-ab9c-d549-0c63-c717ab5d2edc@tweek.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <3d34a965-ab9c-d549-0c63-c717ab5d2edc@tweek.dk> X-purgate-ID: 149429::1695374193-9A4019BA-C47752C9/0/0 X-purgate-type: clean X-purgate-size: 1000 X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 22 Sep 2023 02:16:50 -0700 (PDT) In linux-modules@v.k.o probably some more experts can comment on this: On Fri, Sep 15, 2023 at 12:15:39PM +0200, Martin Nybo Andersen wrote: > Kmod is now using the kernel decompressor which doesn't handle CRC64 > and dictionaries larger than 1MiB. > > Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050582 > Signed-off-by: Martin Nybo Andersen > --- > scripts/Makefile.modinst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst > index c59cc57286ba..ffbafbd3aeea 100644 > --- a/scripts/Makefile.modinst > +++ b/scripts/Makefile.modinst > @@ -144,7 +144,7 @@ endif > quiet_cmd_gzip = GZIP $@ > cmd_gzip = $(KGZIP) -n -f $< > quiet_cmd_xz = XZ $@ > - cmd_xz = $(XZ) --lzma2=dict=2MiB -f $< > + cmd_xz = $(XZ) --check=crc32 --lzma2=dict=1MiB -f $< > quiet_cmd_zstd = ZSTD $@ > cmd_zstd = $(ZSTD) -T0 --rm -f -q $< > > -- > 2.40.1