Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2549369rdb; Fri, 22 Sep 2023 01:40:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHVfUzB5f72GzMwkQaWrruKdjPdE/BRpNqUnujYj+dF6N+tQZGgU1g4rmUCGIvdz4tkJGYc X-Received: by 2002:a05:6a20:3d23:b0:140:d536:d434 with SMTP id y35-20020a056a203d2300b00140d536d434mr3229202pzi.10.1695372041372; Fri, 22 Sep 2023 01:40:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695372041; cv=none; d=google.com; s=arc-20160816; b=FQxOKZa0m7jUPThABNk4dqMvwJ1kf/R+XN3TRYgGj/bfIph18ZS2MrGSLh+siByx4y 2nFF0oF0j25EnNuoykAQwFTALlb64bpdFI88Z2WY2l7iCFZBYHboWtnNJHja5HF583Mk W3QHl10GNnogf6eE80ngRHs/+LAxVzUpk6gsmtospiSwWJmo3jlUyRMFfYZLO1HuOn/L q+mJc0WwewNgZxpY/EHYmdwUDfHQagTeH2In903PKNM4DBajcBDIqYaDCxpeUDHxkWQW 7CCToEumL5ijpsura+eRogHhcxZSZJw9KNhCil/1PldMXwX+62UPah5xYjxRW7jQaWm+ rbHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:mime-version:date:message-id :dkim-signature; bh=XHByl+js/YUPP3gf9zZaEGtUeq+uQ1pus0JHx74CtHs=; fh=azPffQ+6cTtMrOABnKb4TEXjdmyYONlsQlLIRhzFMBQ=; b=tAhP3HsOtHn9eykX9p8o3G2XGy14Mb7dd5TUJdEGx+X24po3AB1fM+GnxIfbDOzmQa AdQwXPSPOMsc+JaLrQaWzBdp4FZ7DZTNNIBg92sAZ5F2aKwXKAl/8kkPuoJ8noOUGmvt VkwprOt1yofwNMGdJFV4bbNF5D7nI/by6K6uf0sbt5zyB1maM7pPqyoIirJajQSgVbbO ET9Mf5TVsB3yuNbdDeBmoj4S6m5stmr0d4HR/HUpTsJkcz3soi9BkRSLq5pdPoIXFWld 0z2fIjyN9kM7iFxZVNgCTB7+dQ6FouHIWrJKy5vMRwfVOLpqhLZFhuaMVCQ8fRq0GW8I CGsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailbox.org header.s=mail20150812 header.b=jWAk5WWj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=mailbox.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id u9-20020a056a00158900b0069100d1fc37si3546757pfk.49.2023.09.22.01.40.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 01:40:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@mailbox.org header.s=mail20150812 header.b=jWAk5WWj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=mailbox.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id C12188040C4A; Fri, 22 Sep 2023 01:26:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232616AbjIVI0T (ORCPT + 99 others); Fri, 22 Sep 2023 04:26:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232680AbjIVI0N (ORCPT ); Fri, 22 Sep 2023 04:26:13 -0400 Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [IPv6:2001:67c:2050:0:465::201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD2F7CE7; Fri, 22 Sep 2023 01:26:03 -0700 (PDT) Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4RsQMW1c9Mz9srm; Fri, 22 Sep 2023 10:25:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1695371159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XHByl+js/YUPP3gf9zZaEGtUeq+uQ1pus0JHx74CtHs=; b=jWAk5WWjD17Th+abAe4pc7Reqbq9ifWaBWjByP4GrzMM3AwOuKiDhMQTZ7p5cf7jAZN8Et RcBme8YUPK7KyeZx89XUkNn6N4HtO0xPMNnwzgYe6qLtQD43SYxKQ5ImN4/VMUpMqBTWcj 8aO3uGe1ifaMf2Pth//ADqQoTyXoilJRkEKszDqDYFCt2pJX22rMPdKzdi0lRYIrrDZFKB Eh+Ppqi3jT27kPZs60p1Y9DJk5VctFY2qAid3Lr7ikyH0X21H2vlf+jzyJUuS2sTSXi5Dw EDXWe6qscVekxeIh6yeku1F91mX+yAlxX+v0o3LX+MRer+BNgGqf2VKLwmFWTA== Message-ID: Date: Fri, 22 Sep 2023 10:25:55 +0200 MIME-Version: 1.0 Subject: Re: [PATCH] Use CRC32 and a 1MiB dictionary for XZ compressed modules Content-Language: en-US To: Martin Nybo Andersen , Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Nick Terrell , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org References: <3d34a965-ab9c-d549-0c63-c717ab5d2edc@tweek.dk> From: Tor Vic In-Reply-To: <3d34a965-ab9c-d549-0c63-c717ab5d2edc@tweek.dk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-MBO-RS-META: yehc7bqndknetusqe9r11sg8xckoeupk X-MBO-RS-ID: 0cfd58da9bd54bab989 X-Spam-Status: No, score=-0.8 required=5.0 tests=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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 22 Sep 2023 01:26:22 -0700 (PDT) > > Hello? Hello, > Anyone? > > Best regards, > - Martin > > On Fri, 15 Sep 2023, 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 $< I wonder whether it should be guarded with ifdef CONFIG_MODULE_DECOMPRESS But on the other hand, the difference between 1M and 2M is likely very small in terms of compression ratio. Cheers, Tor Vic >> quiet_cmd_zstd = ZSTD    $@ >>       cmd_zstd = $(ZSTD) -T0 --rm -f -q $< >> >> -- >> 2.40.1 >> >> >