> Jan Hubicka <hubi...@ucw.cz> writes: > > > > Bootstrapped/regtested x86_64-linux, the patch saves about 1GB of locators > > for chromium > > and 400MB for firefox LTO. > > Great. On my LTO builds linemap was always high up in the profiles too.
Yep, these was always high. I am re-running some profiles now. I feel somewhat stupid I did not get this idea bit earlier - it seems to work well in practice. In GCC 6 we we will hopefully look into preserving more of the linemap info (inline stacks & macro expansion) and inventing less stupid way to pickle the locators, but I think this patch solves the majority of memory use/lookup time issues. I think this was the last major offender for Chromoim/Libreoffice and Firefox. (Modulo the fact htat chromium needs 9GB for WPA. There seems not be much of low hanging fruit - chromium needs a lot of trees to be streamed in that will hopefully be tracked by early debug soon.) What is the status of GCC 5 for kernel compilation? Are the compile times/memory uses resonable now? Honza