lkml.org 
[lkml]   [2014]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT] kbuild/lto changes for 3.15-rc1

* Josh Triplett <josh@joshtriplett.org> wrote:

> > and it slows down kernel development'.
>
> No, it doesn't slow down development builds; it makes kernel builds
> slower if and only if LTO is turned on, which most kernel developers
> won't need to do.
>
> On the other hand, distro and embedded kernels can do so for final
> builds, and developers pushing to minimize the kernel can turn it on
> for their own work as needed.

1)

If LTO will be as fragile for the kernel as it is for user space, then
low level developers will be advised to enable it during testing.

2)

Developers and testers tend to clone distro configs to get to a
working .config: via 'make localconfig' and similar methods. This
means that options like this tend to spread into development
environments.

I saw that with DEBUG_INFO frequently: I detest the option with a
passion because it's such a drag on build time (but not as slow as
LTO), still time and time again it shows up in a .config of mine.

So the "it does not slow down development" argument is simply not
true. It clearly has such a cost.

LTO might still be a net win in the end, if the upsides are strong
enough, but I am wary of arguments that try to ignore or underestimate
the weak points.

Thanks,

Ingo


\
 
 \ /
  Last update: 2014-04-15 08:41    [W:0.082 / U:5.800 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site