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
    On Fri, 9 Jan 2009 18:47:19 +0100
    Andi Kleen <andi@firstfloor.org> wrote:

    > On Fri, Jan 09, 2009 at 10:28:01AM -0700, Matthew Wilcox wrote:
    > > On Fri, Jan 09, 2009 at 06:20:11PM +0100, Andi Kleen wrote:
    > > > Also cc Honza in case he has comments (you might want
    > > > to review more of the thread in the archives)
    > >
    > > I think this particular bug is already known and discussed:
    >
    > I thought so initially too, but:
    >
    > >
    > > http://gcc.gnu.org/ml/gcc/2008-12/msg00365.html
    > >
    > > and it hints at being fixed with gcc 4.4. Does anyone want to test
    > > that?
    >
    > Hugh already tested with 4.4 and it didn't work well. At least
    > a lot of the low level asm inlines were not inlined.
    > So it looks like it's still mistuned for the kernel.

    I think that's the point. gcc will not get it right.
    So we need to do it ourselves in the kernel sources.
    We may not like it, but it's the only way to guarantee reproducable
    reliable inline / noinline decisions.

    /D

    --
    Dirk Hohndel
    Intel Open Source Technology Center


    \
     
     \ /
      Last update: 2009-01-09 18:45    [W:0.036 / U:151.292 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site