Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp523253pxb; Thu, 25 Feb 2021 08:20:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJx8+ZK9b9Jqdi2b/SmFBP7jLB5zfHo+FZTPwRYExbp8WXyvX/OOuoL46LKHOAAv1uxYbY8Q X-Received: by 2002:a17:906:f74d:: with SMTP id jp13mr3444392ejb.287.1614270043306; Thu, 25 Feb 2021 08:20:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614270043; cv=none; d=google.com; s=arc-20160816; b=bvUA4AznLLWAHTlyqV/p8Dz4axpenF6ANebiB+pkopBDPeG2BMqjpn0I6cjASx8QEZ 8N+1S1VCzdra7UCIZekoiWy0y5tiFJKSG5c4XgNnKD092Te8LyvHCVski61mKxPxMH2P UKU47ed7SN2i0gM9coHBCd5oaHBgFMX2UGDajFXjWB3jg85J/M6knOI6tXtFkdw27n2w ScgRRKCgT8rEohmEjBzLnevoYoCdoODuQ+2SNUJ0zXQV5GhFKuirb750fZUY4F3Xuo/E GW0NtdYPg9Q6Ea3f95/JTxur0RoG4zMDP83VFiWSki4cpXs0s1uKTBtjpYdGFvp0jjyq XxWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=liXahywxZWfWM2OwbP2+HJ7Aw4ekKS/5tqxTg5Z4tkk=; b=U5a/E2+u+35RHyHodH+WciiI0Zugb1XYYw9TdMCtAsTXFbDa2IoKbvleBRWYI893mV mY+obeyH8vwFtpb3qcYcqp35u2OL04rzWCFfPJY5jn8K/0u6JHX+YXz2+ZLpBFDvKApZ a+HYhJfpodQErbADdD3ZGkgP/dwG0d6JgytZ3SdZ0XkdPbSOzpJ+0OpdXv5EK5LUmJw0 2Cmvep0+x0udc6XG+i7ouP7AVWYgRuimDDkLu/d1r05Uj9KBcOkdl/IMM5dLd/yeO60m Xu21UwjVjyEckCZod5ybEO8u61govPytnS7zY80N/mgHjon/3VAIEC1ehrCXlR6jg4rc kPGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Tl00HqB4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p2si3671841ejl.393.2021.02.25.08.20.19; Thu, 25 Feb 2021 08:20:43 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Tl00HqB4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231326AbhBYQTt (ORCPT + 99 others); Thu, 25 Feb 2021 11:19:49 -0500 Received: from conssluserg-01.nifty.com ([210.131.2.80]:46872 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233207AbhBYQTg (ORCPT ); Thu, 25 Feb 2021 11:19:36 -0500 Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) (authenticated) by conssluserg-01.nifty.com with ESMTP id 11PGIba6010136 for ; Fri, 26 Feb 2021 01:18:37 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 11PGIba6010136 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1614269918; bh=liXahywxZWfWM2OwbP2+HJ7Aw4ekKS/5tqxTg5Z4tkk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Tl00HqB4X3QT2dkSn2f1/AwyGVfMDRTiYABHqBLIwceitvJVRgVxsihnlhoMUL+un l3/jnGRLIeot0JmyspR0EFM9GLgDs/7r86HwyPMcwF33PDxOYFp5/rJP1g/a19r9tk vXbC7rwvKleP83h4x8pqJbL6O9tTgq4ryavGFqIGiUGRs3Y6EzmlEaeaTrJqVjYax+ 0c5yOIjWDYtbexNZHFVRGWk8DLxVHln2EojW5bDuDzorTsHr3K1ZKh5WPyvIgmp+0/ A+i3Km2sDLHd+f2+x16nx8dac2bsffTT/sKWbDBvlPNKgxJZK95jodv1HKXRlMjx8A XEbN2KqcTBErQ== X-Nifty-SrcIP: [209.85.216.48] Received: by mail-pj1-f48.google.com with SMTP id t5so5251231pjd.0 for ; Thu, 25 Feb 2021 08:18:37 -0800 (PST) X-Gm-Message-State: AOAM5320jshPoayl8RtFIN2aAjUuvkdRNyQYJ5dedDqfEvMMAYcIOLLF ZRqbyfrIZEg9ajvvVf9PuCH8avalh1Tftywx9ww= X-Received: by 2002:a17:90a:dc08:: with SMTP id i8mr3812508pjv.153.1614269916927; Thu, 25 Feb 2021 08:18:36 -0800 (PST) MIME-Version: 1.0 References: <20210223200130.GA8059@lst.de> In-Reply-To: From: Masahiro Yamada Date: Fri, 26 Feb 2021 01:17:58 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] Modules updates for v5.12 To: Rasmus Villemoes Cc: Jessica Yu , Linus Torvalds , Christoph Hellwig , Linux Kernel Mailing List , =?UTF-8?Q?=EF=BF=BCMiroslav_Benes?= , Emil Velikov Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 26, 2021 at 12:49 AM Masahiro Yamada wrote: > > On Thu, Feb 25, 2021 at 4:36 AM Rasmus Villemoes > wrote: > > > > On 24/02/2021 15.40, Masahiro Yamada wrote: > > > On Wed, Feb 24, 2021 at 5:33 PM Jessica Yu wrote: > > >> > > >> +++ 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. > > > Good insight. > Actually, I came up with the same idea last night, and had started > the implementation background. > I needed sleep before completing the patch set, but > now it is working as far as I tested. > > BTW, > KEEP(*(SORT(___ksymtab+foo ___ksymtab+bar ___ksymtab+baz)) > is a syntax error. > > KEEP(*(__ksymtab+foo)) > KEEP(*(__ksymtab+bar)) > KEEP(*(__ksymtab+baz)) > > works. > > Sorry, I missed to CC you. This patch set. https://lore.kernel.org/patchwork/project/lkml/list/?series=486545 -- Best Regards Masahiro Yamada