Messages in this thread | | | Subject | Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers | From | Arjan van de Ven <> | Date | Sat, 31 Dec 2005 10:20:20 +0100 |
| |
On Fri, 2005-12-30 at 16:12 -0600, Matt Mackall wrote: > On Wed, Dec 28, 2005 at 08:11:50PM -0800, Andrew Morton wrote: > > If no-forced-inlining makes the kernel smaller then we probably have (yet > > more) incorrect inlining. We should hunt those down and fix them. We did > > quite a lot of this in 2.5.x/2.6.early. Didn't someone have a script which > > would identify which functions are a candidate for uninlining? > > It was a combination of a tool I wrote for -tiny, which added > deprecation warnings to inlines along with a post-processing tool to > count instantiations, nestings, etc., and a post-post-processing tool > written by Denis Vlasenko that guessed at the space usage.
my current patch to deinline a bunch of big offenders is at http://www.fenrus.org/noinline
(it's on the big side for lkml for now)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |