Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1275398rwb; Thu, 19 Jan 2023 08:37:27 -0800 (PST) X-Google-Smtp-Source: AMrXdXv+hYDWqflStpbdgeyG/Wm4J6R6xw1SmqodO3qzfITVCMsPSX9I1y6nHzgdddes7NPpZl6r X-Received: by 2002:a17:906:f20d:b0:864:1902:6f3c with SMTP id gt13-20020a170906f20d00b0086419026f3cmr12120862ejb.38.1674146247366; Thu, 19 Jan 2023 08:37:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1674146247; cv=pass; d=google.com; s=arc-20160816; b=K57IbHNIUmJ01zLmXPRkRM3aTYzDNv2qV2B1SifuRqPYos++jWKWtkQycW3rxyYyVE quIR79B1kgkThhukznJeWh9M8jClEneyIoYUalJElXHMJlqst2JXBLR1+aecn1QZJQf1 wArDHYvCk+2sFJZ3UROerrTj5wODrCD0cKIXjmO/aFKZwo79USrZGPugf72p2iByRQjy 0dKQTh8SgJkaUZWwKLlqanHEFUynMO174rzYC+gmPZcM/KGkxgx86Bnn+8pgdION7mQ7 Vm+z7Mv51fQOyGbm0/qwpAeFWy2a7Ecr2FRqNpaakX54U+ldjUy9wT6vdz9zPgVW2S83 Uamg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=vvdexPKqAlnDOQR64kzagGxbfyQqNF9vqgufLekoCnA=; b=CfTeBKqQREcETYYIG68nk1PaWH8dqJaPLv3GGghUV9Vd00F9S8AQRysu8XMrebrmI/ wGhhEymSU/vzv6L0pcKeDtBqfw670PWf1M7sv+e1gveronSveWJgsjbE1WA5DnkLTCnw i7pyu7Y8P6RkKIz7uf7Yn1PHgKAV1IAifnjAqGNnt3sa7++/mIigHNhMVvGWrXq0PzGE YyEu3U63DPp8OajCFwY0KdqZJsQcATynyR7H3grw/XCzEue1YFyCJ7QDs0OnEmvUvaTs rsdQr8+/bN3vNYNPo/MsEjISc2E71dYiaPI+jY7sbmniKDScQfLyw0oZaghIVZa8j5GI AjXg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@garyguo.net header.s=selector1 header.b=QSG5lTW6; arc=pass (i=1 spf=pass spfdomain=garyguo.net dkim=pass dkdomain=garyguo.net dmarc=pass fromdomain=garyguo.net); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id tk25-20020a170907c29900b0086fd97e310bsi12672329ejc.169.2023.01.19.08.37.16; Thu, 19 Jan 2023 08:37:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@garyguo.net header.s=selector1 header.b=QSG5lTW6; arc=pass (i=1 spf=pass spfdomain=garyguo.net dkim=pass dkdomain=garyguo.net dmarc=pass fromdomain=garyguo.net); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231437AbjASP5p (ORCPT + 45 others); Thu, 19 Jan 2023 10:57:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231326AbjASP5j (ORCPT ); Thu, 19 Jan 2023 10:57:39 -0500 Received: from GBR01-LO2-obe.outbound.protection.outlook.com (mail-lo2gbr01on2105.outbound.protection.outlook.com [40.107.10.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9812C4B76A; Thu, 19 Jan 2023 07:57:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YCpZimKjjzCJ882+ayOGXASWtzBiloouAFpzmdCkcGFcjV5luTcQVWExglqz3tnA1egN6FRomzW9cHhqls3w8lExlmbWKSyXNMHLDPSFV/wTPsGvq/TSqnoz+8S4udybTkc+2F0PPdMqdCw9BNv2nQucmAbdXYxrZ6fr3tgQ8Don8MkAsqTBgYoN8WvLT3o7WYVma0vqQfE8AjkY92sTIpgNhpvEboKWYZsgluGl/BWjDORpctd0KBdnqLpqC9g4VMiw0P1zbJ4TRR2WGpuzvZiriTWQxCWXV5SCRzyOisqT48/3YjFvjx2Ji4lyrRrXGE3oTSMjgSn4pgmRUJ5pSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vvdexPKqAlnDOQR64kzagGxbfyQqNF9vqgufLekoCnA=; b=ZbzGNywgeUIM5pbBr4dppBB71JU/ErbGkDm6i48dN/Hdgq49xg+c9Dmv2KaFdMKaznfBe6Mfq37vRDMrGj718sOR5KQB4c7mE81bc+W/WU/a6obE0X0nJSqiPTzhH6bV+7N+IxvFvbzCjRzqejTtzZ/DVINGwhdSuvD560LDeVilosTxi5vl518ZYblcoJx0fnMX3rTzZlq7gpp80D0mH7shLtLDxTcoqXUcwUkc+zy2gqmXznj42VGLvdviOL+7T6QdwGEQMtSriVuwSFvO4JC3m0leTXL5lfym8sAFqeomaOFwzhCMVe5OGNlyhQw3Njof0ZjWfOTKNAgZr8gPrw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=garyguo.net; dmarc=pass action=none header.from=garyguo.net; dkim=pass header.d=garyguo.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=garyguo.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vvdexPKqAlnDOQR64kzagGxbfyQqNF9vqgufLekoCnA=; b=QSG5lTW65n83udJZuZRUi0/grQDJbn28CzJYc1Ra2q3HM+QNWhfmZZ2P5lDZkr6jqnVg9G9InUnOQjTvb6iW6S0eGSLgk2RajKZG+vtUaf01D6YWgYnwHwExTUrIiNxxK6eTwBsGpufnJwgApl+qOhZyVUFzDNYvpPI1v6JzCMI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=garyguo.net; Received: from LO2P265MB5183.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:253::10) by LO3P265MB2121.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:102::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.25; Thu, 19 Jan 2023 15:57:36 +0000 Received: from LO2P265MB5183.GBRP265.PROD.OUTLOOK.COM ([fe80::2f24:8099:5588:8ba8]) by LO2P265MB5183.GBRP265.PROD.OUTLOOK.COM ([fe80::2f24:8099:5588:8ba8%8]) with mapi id 15.20.6002.025; Thu, 19 Jan 2023 15:57:36 +0000 Date: Thu, 19 Jan 2023 15:57:09 +0000 From: Gary Guo To: Michal =?UTF-8?B?U3VjaMOhbmVr?= Cc: Lucas De Marchi , Kees Cook , Masahiro Yamada , linux-kbuild@vger.kernel.org, Joel Stanley , Alex Gaynor , Miguel Ojeda , Wedson Almeida Filho , Nicolas Schier , rust-for-linux@vger.kernel.org, Guo Zhengkui , Boqun Feng , Nicholas Piggin , =?UTF-8?B?QmrDtnJu?= Roy Baron , Nathan Chancellor , Nick Desaulniers , linux-kernel@vger.kernel.org, Julia Lawall , Luis Chamberlain , linuxppc-dev@lists.ozlabs.org, linux-modules@vger.kernel.org Subject: Re: [PATCH] modpost: support arbitrary symbol length in modversion Message-ID: <20230119155709.20d87e35.gary@garyguo.net> In-Reply-To: <20230119151857.GQ16547@kitsune.suse.cz> References: <20230111161155.1349375-1-gary@garyguo.net> <20230112214059.o4vq474c47edjup6@ldmartin-desk2> <20230113181841.4d378a24.gary@garyguo.net> <20230117175144.GI16547@kitsune.suse.cz> <20230117192059.z5v5lfc2bzxk4ad2@ldmartin-desk2.lan> <20230119150936.30811312.gary@garyguo.net> <20230119151857.GQ16547@kitsune.suse.cz> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: LO4P123CA0263.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:194::16) To LO2P265MB5183.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:253::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LO2P265MB5183:EE_|LO3P265MB2121:EE_ X-MS-Office365-Filtering-Correlation-Id: 32d0c7f1-88a5-4901-940e-08dafa35e21e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CDaMijWSZvXYx0c9vmbfZaLZBXzAPMPUx4AxjCWANUu5vy/rIIwgZoUekprvby8LPYDUjuYLkBytPxKsBzKf8+WiOI64EJ/p+vFddfMdogdDbz0rReDI0vgIbe7BTYKiBIyJQwAQW40H9ThokBg6dZ5DtsVK1Rafn2ssN83U3jCt5qE2oFdUEGLL/idPCdKOxm8USTRtAzo2gYKIC2YDf7zKiytZPRpS4ZgqAdqOrL3KrV68ss7AcNBaxAYxLQjBweskD55FmRqLudOAN8fxvgDHRUfJtIs0Nr+XgrtN/wO0vzWjyWr63QcXZHAtS+bB0FTiSgml32280Jg61jd1Dj6DSPbwKGVfHK0fysUAogYQivMRDRyhWsFskyU3QVxTYm0TSYqD4Shk+IUSurWSNTrSvtvI94mjaL9rU4PMprZmlkFiXNdBBphJP4swo+g0g+gP4ZENZ/PCZVe2SCRd+/mb/lpDKbUosHum6sy+jOcvRvKXvRTdVFIMSuKhZLv6dqJU/EyB3lohWGNg+hTMEHyWTQanuyaQmUGAhXGXkwC+RImGXhYdYWEEzmSOwuftpOT18lgRMpizjjxwUGsCBwCw8i0EOXJ+rjCmaQI4E6lLPIXNDn+9f1NWI0HKBpdbG0Wq9ofqIPzY9li6sXo9JA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LO2P265MB5183.GBRP265.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230022)(366004)(136003)(346002)(396003)(376002)(39830400003)(451199015)(316002)(6506007)(38100700002)(54906003)(2906002)(2616005)(6666004)(1076003)(66556008)(66476007)(66946007)(26005)(4326008)(6512007)(478600001)(6916009)(8676002)(8936002)(7416002)(186003)(5660300002)(36756003)(86362001)(41300700001)(4744005)(6486002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cWZJQUs3NDdSMXoyMS9BbW5BK0xnQW1WWkNqRFU4NHA3dkR2NHJKOEhrRmNv?= =?utf-8?B?Mm14bG5rTUtBN2VYbGpBQ25VT3k0bEtNV2NFanAzeFk3WDJzZU9EeWJ3V1Zw?= =?utf-8?B?Q2x1eEdIQit4K2NMUGV3VlRndkRHZmpMOU55T0IvTmNwSUJ4eWZ4V09FT1RU?= =?utf-8?B?bUhsbFdaWGp4aTQyY1Z2UWx2QWNnbFNjS1FiRWJCT1E4MXdkVTVjeUtmK3JW?= =?utf-8?B?VDBXNTdzNHpRSWJUejN6K1U4b003RXB2UmJ4WmFmaE5CK0Rxa2g4QjMyQnpR?= =?utf-8?B?NDluNVdseTFheHk3Q2dTdmdVKzZaMGJhZExjOGxmTmM4UWVTS3NrRURkRC9t?= =?utf-8?B?dFdWSjBCTjlTbC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Message-Id: 32d0c7f1-88a5-4901-940e-08dafa35e21e X-MS-Exchange-CrossTenant-AuthSource: LO2P265MB5183.GBRP265.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2023 15:57:36.1930 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bbc898ad-b10f-4e10-8552-d9377b823d45 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +ux8dbOhukzNnyC8FDBADwBe/1FYhDU2U8xXo/Ogjgxub8Yq6yFSnr49SfjWD1te7M4EdSyr2kqo9g9spEiH9g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO3P265MB2121 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 Jan 2023 16:18:57 +0100 Michal Such=C3=A1nek wrote: > On Thu, Jan 19, 2023 at 03:09:36PM +0000, Gary Guo wrote: > > On Tue, 17 Jan 2023 11:22:45 -0800 > > Lucas De Marchi wrote: > > =20 > > > And the additional 0's should compress well > > > so I'm not sure the additional size is that much relevant here. =20 > >=20 > > I am not sure why compression is mentioned here. I don't think section > > in .ko files are compressed. =20 >=20 > There is the option to compress the whole .ko files, and it's commonly > used. Hi Michal, I am aware that there is an option but I am surprised to hear that it's commonly used. I don't think that's enabled by default, and certainly Debian/Ubuntu does not have it enabled. Best, Gary