Re: [PATCH] prepare kconfig inline optimization for all architectures

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Hellwig
Date: Sunday, April 27, 2008 - 11:14 am

On Sun, Apr 27, 2008 at 08:09:57PM +0200, Sam Ravnborg wrote:

As Linus mentioned the hint doesn't make any sense because gcc will
get it wrong anyway.  In fact when you look at kernel code it tends
to inline the everything and the kitchensink as long as there's just
one caller and this bloat the stack but doesn't inline where it needs
to.  Better don't try to mess with that and do it explicit.


I don't say it is that, it certainly isn't on powerpc and probably most
other architectures right now, because only x86 got the fixup so far.
But making it a user-visible option instead of an architecture opt
in/out selection doesn't make any sense.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] prepare kconfig inline optimization for all ar ..., Christoph Hellwig, (Sun Apr 27, 10:57 am)
Re: [PATCH] prepare kconfig inline optimization for all ar ..., Christoph Hellwig, (Sun Apr 27, 11:00 am)
Re: [PATCH] prepare kconfig inline optimization for all ar ..., Christoph Hellwig, (Sun Apr 27, 11:14 am)
Re: [PATCH] prepare kconfig inline optimization for all ar ..., Christoph Hellwig, (Sun Apr 27, 11:25 am)
Re: [PATCH] prepare kconfig inline optimization for all ar ..., Christoph Hellwig, (Sun Apr 27, 11:32 am)
Re: [PATCH] prepare kconfig inline optimization for all ar ..., Christoph Hellwig, (Sun Apr 27, 11:36 am)