[linux-yocto] [PATCH linux-yocto-4.4 00/14] Add Link Time Optimization

Bruce Ashfield bruce.ashfield at windriver.com
Mon Feb 20 19:09:13 PST 2017


On 2017-02-20 4:13 PM, Alejandro Hernandez wrote:
> Hey Bruce,
>
>
> On 02/14/2017 03:03 PM, Bruce Ashfield wrote:
>> On 2017-02-13 3:41 PM, Alejandro Hernandez wrote:
>>> These set of patches enable Link Time Optimization (LTO), they are
>>> meant specifically
>>> for linux-yocto-4.4, another set (rebased) will be sent for
>>> linux-yocto-4.8 and
>>> linux-yocto-4.9 respectively, these also complement the series sent
>>> to yocto-kernel-cache
>>> a few weeks ago.
>>
>> The changes look fine to me, but in order to properly track them
>> against upstream, I'd like to add a bit more logging to the commit
>> headers.
>>
>> I assume these were posted to lkml (I haven't gone to look yet),
>> and if they were posted, can we add a lkml archive link to the
>> headers ?
>>
>> That allows me to track the progress and update/drop them as appropriate.
>>
>> Bruce
>>
> Yes, these were posted to the lkml sometime ago, do you mean add the
> link to every patch on its commit specifically
> or add the links for all of them in the cover letter?

We normally track them per-patch, but if you provide the link in the
0/N, I can always rebase and amend the link into them during the
merge process (assuming you don't have time to do the cut & pasting :D

Bruce

>>>
>>> Andi Kleen (14):
>>>   Kbuild, lto: Set TMPDIR for LTO v4
>>>   lto: Add __noreorder and mark initcalls __noreorder
>>>   Kbuild, lto: Add Link Time Optimization support
>>>   lto: Disable LTO for hweight functions
>>>   Don't inline __const_udelay
>>>   Mark spinlocks noinline when inline spinlocks are disabled
>>>   Kbuild, bloat-o-meter: Ignore .lto_priv postfix
>>>   Don't let LATENCYTOP and LOCKDEP select KALLSYMS_ALL
>>>   lto, workaround: Disable LTO for BPF
>>>   x86, perf: Fix __initconst declaration in rapl perf driver
>>>   x86, workaround: Disable mm init BUILD_BUG_ON for LTO
>>>   work around linker map issue
>>>   sched: Move sched_to_prio arrays out of line
>>>   fixup! Kbuild, lto: Add Link Time Optimization support
>>>
>>>  Documentation/lto-build                     | 173
>>> ++++++++++++++++++++++++++++
>>>  Makefile                                    |  19 ++-
>>>  arch/x86/Kconfig                            |   2 +-
>>>  arch/x86/kernel/cpu/perf_event_intel_rapl.c |   2 +-
>>>  arch/x86/kernel/vmlinux.lds.S               |   2 +
>>>  arch/x86/lib/delay.c                        |   2 +-
>>>  arch/x86/mm/init_32.c                       |   2 +
>>>  include/linux/compiler-gcc.h                |   5 +
>>>  include/linux/compiler.h                    |   4 +
>>>  include/linux/init.h                        |   2 +-
>>>  init/Kconfig                                |  73 ++++++++++++
>>>  kernel/bpf/Makefile                         |   5 +
>>>  kernel/gcov/Kconfig                         |   2 +-
>>>  kernel/locking/spinlock.c                   |  56 ++++-----
>>>  kernel/sched/auto_group.c                   |   2 +-
>>>  kernel/sched/core.c                         |  45 +++++++-
>>>  kernel/sched/sched.h                        |  42 +------
>>>  lib/Kconfig.debug                           |   3 +-
>>>  lib/Makefile                                |   4 +-
>>>  scripts/Makefile.lto                        |  94 +++++++++++++++
>>>  scripts/Makefile.modpost                    |   7 +-
>>>  scripts/bloat-o-meter                       |   1 +
>>>  scripts/gcc-ld                              |   2 +-
>>>  scripts/link-vmlinux.sh                     |   2 +-
>>>  24 files changed, 466 insertions(+), 85 deletions(-)
>>>  create mode 100644 Documentation/lto-build
>>>  create mode 100644 scripts/Makefile.lto
>>>
>>
>



More information about the linux-yocto mailing list