Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: Suboptimal inline heuristics due to non-code sections

$
0
0
Linus Torvalds writes: (Summary) On Tue, May 1, 2018 at 6:40 AM Josh Poimboeuf <jpoimboe@redhat.com> wrote: On Tue, May 1, 2018 at 6:40 AM Josh Poimboeuf <jpoimboe@redhat.com> wrote:

[...]

pushsection/popsection, then copy_overflow() gets inlined. I think gcc uses the size of the string to approximate the size of an inline asm.
inline asm.
So I don't think it's the "empty section" that makes gcc do this, I think it's literally "our inline asms _look_ big". it's literally "our inline asms _look_ big". Torvalds
Torvalds
Torvalds

Viewing all articles
Browse latest Browse all 1267

Trending Articles