Re: [PATCH] lto: Add __noreorder and mark initcalls __noreorder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 9 Apr 2015 01:50:23 +0200 Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> > Head is spinning a bit.  As this all appears to be shiny new
> > added-by-andi gcc functionality, it would be useful if we could have a
> > few more words describing what it's all about.  Reordering of what with
> > respect to what and why and why is it bad.  Why is gcc reordering
> > things anyway, and what's the downside of preventing this.  Why is the
> > compiler reordering things rather than the linker. etc etc etc.
> 
> Ok, let me try.

That was super-useful, thanks.  I slurped it into the changelog -
maybe one day it will provide material for Documentation/lto-stuff.txt.

Big picture: do you have a feeling for how much benefit LTO will yield
in the kernel, if/when it's all completed?

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux