Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1634734

Re: [PATCH] Makefile: evaluate LDFLAGS_BUILD_ID only once

From Masahiro Yamada <yamada.masahiro@socionext.com>
Newsgroups linux.kernel
Subject Re: [PATCH] Makefile: evaluate LDFLAGS_BUILD_ID only once
Date 2017-05-03 06:50 +0200
Message-ID <tCUoF-8jC-1@gated-at.bofh.it> (permalink)
References <tBZJL-5nM-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2017-05-01 1:16 GMT+09:00 Rabin Vincent <rabin@rab.in>:
> Evaluate LDFLAGS_BUILD_ID (which involves invoking the compiler) only
> once instead of over and over.
>
> This provides a ~20% reduction in null build time with x86 allnoconfig:
>
> $ make allnoconfig && make -j8
> $ perf stat -r5 -e sched:sched_process_exec make -j8
> -       2 119      sched:sched_process_exec
> +       1 878      sched:sched_process_exec
>
> -       1,238817018 seconds time elapsed
> +       0,971020553 seconds time elapsed
>
> Signed-off-by: Rabin Vincent <rabin@rab.in>


Applied to linux-kbuild/kbuild.  Thanks!


-- 
Best Regards
Masahiro Yamada

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] Makefile: evaluate LDFLAGS_BUILD_ID only once Rabin Vincent <rabin@rab.in> - 2017-04-30 18:20 +0200
  Re: [PATCH] Makefile: evaluate LDFLAGS_BUILD_ID only once Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-05-03 06:50 +0200

csiph-web