lkml.org 
[lkml]   [2009]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] measurements, numbers about CONFIG_OPTIMIZE_INLINING=y impact
    > 
    > And you do have to realize that Linux has been using gcc for a _loong_
    > while. You can talk all you want about how "inline" is just a hint, but
    > the fact is, it didn't use to be. gcc people _made_ it so, and are having
    > a damn hard time admitting that it's causing problems.

    The kernel has used:
    # define inline inline __attribute__((always_inline))

    For a looong time.

    So anyone in the kernel when they said "inline" actually
    said to gcc: if you have any possible way to do so inline this
    sucker.

    Now we have a config option that changes this so inline is only
    a hint. gcc does not pay enough attention to the hint,
    especially compared to the days where the hint was actually a command.

    Sam


    \
     
     \ /
      Last update: 2009-01-09 22:01    [W:0.024 / U:0.120 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site