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=-6.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 BDC7FC433E6 for ; Wed, 24 Feb 2021 08:35:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7DB59601FF for ; Wed, 24 Feb 2021 08:35:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234458AbhBXIfM (ORCPT ); Wed, 24 Feb 2021 03:35:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:34514 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233896AbhBXIeb (ORCPT ); Wed, 24 Feb 2021 03:34:31 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id C583264EC9; Wed, 24 Feb 2021 08:33:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614155613; bh=6hpKIts730HVSFW7NEWv++ddBcaF0jNziyKYSQQCVVc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gntEwUaQtIH8fgq1omigfuVpROV+KjDjjgviQ8xMENu4F2X2xT/eRoUNezX1bBbEf yklpbiyER+fMtRtA/LifuX/Nz4IZIl66O4pK1epLMI5yaryLvh4bpdfVr1xyKKc9RI wTltEKr1hrOr1pfPfw2y2bfh1L+T5a8oUiB4hi15qK9PkC3thtUxKoLmMRVDHge3zp H5AahjoBPILfDn8HPup9FfL1DXfKhYv0oIGhDx7BsF+emicxdQHcTk9mCqfRAJQmnD fAg+BzUKV+yT5wea6PRE4pSpfnnFOql3QiI8T1+rdMem12FYx556+1IxIeB1pblvfp WgrPSas+34DaA== Date: Wed, 24 Feb 2021 09:33:28 +0100 From: Jessica Yu To: Linus Torvalds Cc: Christoph Hellwig , Linux Kernel Mailing List , =?utf-8?B?77+8TWlyb3NsYXY=?= Benes , Emil Velikov , Masahiro Yamada Subject: Re: [GIT PULL] Modules updates for v5.12 Message-ID: References: <20210223200130.GA8059@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-OS: Linux gunter 5.11.0-rc4-1-default+ x86_64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +++ Linus Torvalds [23/02/21 12:03 -0800]: >On Tue, Feb 23, 2021 at 12:01 PM Christoph Hellwig wrote: >> >> Does your build now enable TRIM_UNUSED_KSYMS but previously didn't by >> chance? > >Crossed emails. > >This is plain "make allmodconfig", so yes, now it will enable TRIM_UNUSED_KSYMS. > >This is unacceptably slow. If that symbol trimming takes 30% of the >whole kernel build time, it needs to be fixed or removed. [ Adding Masahiro to CC ] It looks like CONFIG_TRIM_UNUSED_KSYMS had been hiding behind CONFIG_UNUSED_SYMBOLS all this time, and once the EXPORT_UNUSED_SYMBOL stuff was removed, it exposed that option to be selected by allyesconfig. That option had previously caused build issues on powerpc on linux-next, so I had temporarily marked that as BROKEN on powerpc until Masahiro's fix landed in linux-next. I was not aware of the additional build slowdown issue :/ In any case, Christoph's suggestion to invert the option sounds reasonable, since the mips defconfig selects it, it does not seem totally unused.