From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99D5CC433DB for ; Wed, 24 Feb 2021 07:53:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 478C764ED1 for ; Wed, 24 Feb 2021 07:53:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233864AbhBXHxJ (ORCPT ); Wed, 24 Feb 2021 02:53:09 -0500 Received: from verein.lst.de ([213.95.11.211]:36506 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232164AbhBXHxD (ORCPT ); Wed, 24 Feb 2021 02:53:03 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id 81C9868D0A; Wed, 24 Feb 2021 08:52:20 +0100 (CET) Date: Wed, 24 Feb 2021 08:52:20 +0100 From: Christoph Hellwig To: Linus Torvalds Cc: Christoph Hellwig , Jessica Yu , Linux Kernel Mailing List , =?utf-8?B?77+8TWlyb3NsYXY=?= Benes , Emil Velikov Subject: Re: [GIT PULL] Modules updates for v5.12 Message-ID: <20210224075220.GA546@lst.de> References: <20210223200130.GA8059@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 23, 2021 at 12:07:39PM -0800, Linus Torvalds wrote: > On Tue, Feb 23, 2021 at 12:03 PM Linus Torvalds > wrote: > > > > This is unacceptably slow. If that symbol trimming takes 30% of the > > whole kernel build time, it needs to be fixed or removed. > > I think I'm going to mark TRIM_UNUSED_KSYMS as "depends on BROKEN". > There's no way I can accept that horrible overhead, and the rationale > for that config option is questionable at best, I think it is pretty useful for embedded setups. BROKEN seems pretty strong for something that absolutely works as intendended. I guess to make you (and possibly others) not grumpy we just need to ensure it doesn't get pulled in by allmodconfig. So maybe just invert the symbol, default the KEEP_UNUSED_SYMBOL, and add a message to the helptext explaining the slowdown?