Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp384910pxb; Wed, 24 Feb 2021 05:02:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxlXz0uR1YnPP0fZMK1BDpZsxsxyt0MLP8JUdDC1pfFOwH3WKxSj1vxw23cGEWZoPy5sA9K X-Received: by 2002:a50:fd90:: with SMTP id o16mr11528092edt.292.1614171765553; Wed, 24 Feb 2021 05:02:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614171765; cv=none; d=google.com; s=arc-20160816; b=tWhdLA0C9yDPGvDzHxiEctU1M+vfaw3oTsdrcP5Kdl1UQcYutXS1x6+uc5suCRLI6R mk8iWqLO1Yo0NSAR7DZ+d/KC7FblfNTKjPRjMca1eHc91k7CggMYDlSDICWQ+gbM6E23 koYLz41PDH2/ch3pD00+SuS0NpiM76PvSN4Nak1MN4Pq2GL47wExkf4HACIZaLLNv87v OCxuGUAI2Y1Au9uyOdL0AG5HX8wMm2uzPv3RGtUG1hNHieMvCmY3mNplM+R612FcKrfK YCuHH1HFUEto6bawUFkuVNN0DaUJ/rMumoWH307tyKINfoRzezZqDGwlbhz4e2V3CaHY HIiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Y51dKTYP9ygvpvDGmhm+uKJpjavizjL1F5xs6RZpnB4=; b=0co3Ij/rCQ7rb2XLcL6hYOKQsbUTQMg7oK0jdjnSUNiW6r6HtePK2A1AbvE5YLRbgz 3u33Sy+xo3uA6RwZbI9UDJtEU1zicf6WShqjDIMi7f4w8kty/7vz/W70jUdGZvVIwD3x H1KbyjcQYO5hqOyUBF6fDWrv8olXDszbG46kzCidXE+K37dCGvPMyGXcEucTjGxPbgkv ovQAyIUpcNdDl5CwAwZnX0GRFDjjow78gjLJ3z/0ojT00Zcp1unRvj5pI3gym2LfgnvG I5oXmDw14SVgeAL+cJgzMkCBd53NtNhzz6GknN6yIab/vTQmJfNFMoVrR8XVUX78pnYs s8OA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c10si580881edq.212.2021.02.24.05.02.05; Wed, 24 Feb 2021 05:02:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233820AbhBXHxF (ORCPT + 99 others); Wed, 24 Feb 2021 02:53:05 -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?