Re: [GIT PULL] Modules updates for v5.12

From: Linus Torvalds
Date: Tue Feb 23 2021 - 15:03:04 EST


On Tue, Feb 23, 2021 at 11:55 AM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> I don't see quite what is wrong, but bisection is clear, and points
> the finger at
>
> 367948220fce "module: remove EXPORT_UNUSED_SYMBOL*"
>
> which looks entirely trivial, but clearly isn't.
>
> It's repeatable. That commit slows down my build hugely.

Hmm. I'm starting to suspect that the problem is that the removal of
CONFIG_UNUSED_SYMBOLS now means that we always trigger
CONFIG_TRIM_UNUSED_KSYMS instead.

And then that CONFIG_TRIM_UNUSED_KSYMS is some hugely expensive operation.

Linus