Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2357758rwd; Sun, 21 May 2023 19:27:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6I5iUj0k98I/Wg4zCRRF83vpZdXk/gvroPxSRXfUnlIP/7yBw+jwGmfH4gDDcR3UreN8Vm X-Received: by 2002:a05:6a20:7d98:b0:100:607:b986 with SMTP id v24-20020a056a207d9800b001000607b986mr1979197pzj.56.1684722445934; Sun, 21 May 2023 19:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684722445; cv=none; d=google.com; s=arc-20160816; b=qeHvLCd+DM/Or4gdnjEMvfB0RJ1phYYduZtRyMkoicoBq5Gs+pECtTL+dNQXXOVDLr P+LZYRFLBsvCAUByJbKyQRK2dUfPIl507BrYDY17UrexRMHh+wAQ1b80bmRvLn9Uk34U GLRCf8SyUmjx/X3tH+Usy+mCA4mB8CFiVIcVS+lEZHqdsgM6qUp56TqLbjRUA+8+bYy0 8IrvE6F/RzmiJJkYBykcmU94ObFUO0NGe0MPAst9aFTC1uUvS0GMUb12PGNlOtfEh9OI GRGkHROykkTlyY1LOtuYjGpLg6PgptFyWrZnuWjo2j3dZGRoyTsDPVrlSqpk4XgePbsP M83Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=5I23F1H7BgfEXP5nDay1gz4JOIjxgmkeTR1pRnPlpS4=; b=Khto39uVs1Qs7uZbhH8IqVmHb+KTAxjmJaVRinJsexVtZSrUOvtMBmKbiCKap7VEgF 7iUiBlx7tW8QLkt+LjZIUGk4VtXaYeYS2e9gBvM7HWyWldkGjPBB0WR96dGHT1GE24Wd 5l0A8aJkVDeXTNLQ/uqoBeP40ofPp24VLpmPXhwYm2f+LgW82VH4Cw+miQE1eoM7+7WW aAvZa3A591qhXzBeaYsIme/o4RAGg6mqcnpOOt2fRaifv8I0saM3rrUfzh3++iHQC0lh tGgEqCbvgbsrWcceQ2FY4V4T+GYXqTcsQ6IMqi8LxLUtT4SFOTRbRwVRI8RPkZfXS3Rj Jr/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="pURT/Ja7"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h189-20020a636cc6000000b00535401db8d9si3792851pgc.674.2023.05.21.19.27.12; Sun, 21 May 2023 19:27:25 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b="pURT/Ja7"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231464AbjEVBsU (ORCPT + 99 others); Sun, 21 May 2023 21:48:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231424AbjEVBsS (ORCPT ); Sun, 21 May 2023 21:48:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A88A0DE; Sun, 21 May 2023 18:48:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 392D56115E; Mon, 22 May 2023 01:48:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8DBA0C4339B; Mon, 22 May 2023 01:48:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684720096; bh=LXrAyE8xoklF4IlUUrc+eKNzPWHP+rqO9CrKVwazuIw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=pURT/Ja7uOZETyQSFp1XKbEy8ZXM88D4sL79KEJIguZ4JqxxZ8VRC1XIFS2CcKEuZ 6uQ4ueJ/KPGaq2jN2P5zp/To/Dkf0AsTbf11zCX1THG0sDQttTHMhPOorRMixGi8D/ V/VEwWAeRkG/DdemFMoc9mqJDoid+8kL+rjQSWCMiOZQ5pR1CxxRrqw9CDeDeNHv12 XczCwSmvpWwdqxqp60RXmbW6VXf4ajeoO9r0mfHFH4kNs03LCYIq5ZjDkeSWlKZaC3 e0w8lmbxs0OSKDNuEDmHKtW+wGlEuULq/4OMbeEYc9b8JlTtPiSztBgquoYJSmkOmD bzDxUm4nPhR/Q== Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-19ad6baf96dso1094401fac.0; Sun, 21 May 2023 18:48:16 -0700 (PDT) X-Gm-Message-State: AC+VfDyWuPbj5JgJw5TsqW/29+W1DJl87kghH8C6iEwM87BK5gXBhPU8 M32xPkNSgq9DUCSW+3AdQcL6A+1sbWPkHTExfgY= X-Received: by 2002:a05:6870:c803:b0:196:ca0:c575 with SMTP id ee3-20020a056870c80300b001960ca0c575mr4509701oab.3.1684720095855; Sun, 21 May 2023 18:48:15 -0700 (PDT) MIME-Version: 1.0 References: <20230521160426.1881124-1-masahiroy@kernel.org> In-Reply-To: <20230521160426.1881124-1-masahiroy@kernel.org> From: Masahiro Yamada Date: Mon, 22 May 2023 10:47:39 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 00/20] Unify and , remove EXPORT_DATA_SYMBOL(), faster TRIM_UNUSED_KSYMS To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Nathan Chancellor , Nick Desaulniers , Nicolas Schier Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Mon, May 22, 2023 at 1:05=E2=80=AFAM Masahiro Yamada wrote: > > > This patch set refactors modpost first to make it easier to > add new code. > > My goals: > > - Refactors EXPORT_SYMBOL, and . > You can still put EXPORT_SYMBOL() in *.S file, very close to the defin= ition, > but you do not need to care about whether it is a function or a data. > This removes EXPORT_DATA_SYMBOL(). > > - Re-implement TRIM_UNUSED_KSYMS in one-pass. > This makes the building faster. > > - Move the static EXPORT_SYMBOL check to modpost. > This also makes the building faster. > > This patch set is applicable to > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git = kbuild I pushed this series to git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git modpost-v6-testing --=20 Best Regards Masahiro Yamada