lists.openwall.net   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  linux-hardening  linux-cve-announce  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 Apr 2014 08:00:38 +0200
From:	Ingo Molnar <mingo@...nel.org>
To:	Josh Triplett <josh@...htriplett.org>
Cc:	Markus Trippelsdorf <markus@...ppelsdorf.de>,
	Andi Kleen <ak@...ux.intel.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Michal Marek <mmarek@...e.cz>,
	Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Sam Ravnborg <sam@...nborg.org>
Subject: Re: [GIT] kbuild/lto changes for 3.15-rc1


* Josh Triplett <josh@...htriplett.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ