lkml.org 
[lkml]   [2015]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH RFC] x86: enforce inlining for atomics
From
On Tue, Apr 21, 2015 at 3:57 PM, Hagen Paul Pfeifer <hagen@jauu.net> wrote:
>
> Is it possible that gcc is bedeviled because of inline assembler
> parts which brings confuse the internal scoring system?

yes, I have this memory of having seen that before - the size
heuristics for gcc getting confused by inlining. I'm wondering if
maybe it uses the size of the string to approximate the size, or just
uses some random variable.

It might be a good idea to mark things that are basically just
wrappers around a single (or a couple of) asm instruction to be
always_inline.

Linus


\
 
 \ /
  Last update: 2015-04-22 03:01    [W:0.124 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site