lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 15 Jan 2019 18:01:34 +0900
From:   Masahiro Yamada <>
To:     Nicholas Piggin <>
Cc:     Linux Kbuild mailing list <>,
        Linux Kernel Mailing List <>,
        Stephen Rothwell <>
Subject: Re: [PATCH 1/2] kbuild: remove top-level built-in.a

Hi Nicholas,

On Tue, Jan 15, 2019 at 5:07 PM Nicholas Piggin <> wrote:
> Masahiro Yamada's on January 14, 2019 1:27 pm:
> > The symbol table in the final archive is unneeded because it is passed
> > to the linker after the --whole-archive option. Every object file in
> > the archive is included in the link anyway.
> >
> > Pass thin archives from subdirectories directly to the linker, and
> > remove the final archiving step.
> This seems like a good improvement. As far as I remember, it was slower
> to do the final link without the index built. Maybe I was testing it
> in a revision before moving those files into --whole-archive? If there
> is no slowdown, then I have no objection.

Thanks for the review.

I measured the performance of scripts/ with 'perf stat'.
(20 times for each)

Before this patch:

 Performance counter stats for 'make vmlinux' (20 runs):

       5.266796537 seconds time elapsed
          ( +-  0.12% )

After this patch:

 Performance counter stats for 'make vmlinux' (20 runs):

       4.945576395 seconds time elapsed

So, the performance is slightly better.

Maybe, does omitting the 'ar' save some time?

Anyway, this commit is good.

Best Regards
Masahiro Yamada

Powered by blists - more mailing lists