Re: [patch 01/2] allow gcc4 to control inlining

From: Matt Mackall
Date: Wed Dec 28 2005 - 09:38:39 EST


On Wed, Dec 28, 2005 at 03:34:42PM +0100, Ingo Molnar wrote:
>
> * Matt Mackall <mpm@xxxxxxxxxxx> wrote:
>
> > On Wed, Dec 28, 2005 at 12:46:53PM +0100, Ingo Molnar wrote:
> > > allow gcc4 compilers to decide what to inline and what not - instead
> > > of the kernel forcing gcc to inline all the time.
> > >
> > > Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
> > > Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxx>
> >
> > I'm ever so slightly wary of GCC 4's stack size logic for functions
> > with nested scopes, but I think we'll have no trouble catching any
> > trouble cases in 2.6.16-rc.
> >
> > Acked-by: Matt Mackall <mpm@xxxxxxxxxxx>
>
> FYI, the max function-frame size did not change, so there's no
> outrageous frames like with gcc3, just a small shift upwards.

My point is more that I wouldn't be surprised if we found a corner
case for a particular .config. But even with GCC 3 and 4k stacks,
automatic inlining worked just fine for most configs after killing
just a few offenders.

--
Mathematics is the supreme nostalgia of our time.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/