* Ingo Molnar <mingo@elte.hu> wrote: > > I'm not quite sure I buy Ingo's original argument also. If he's only > > looking at text size then with the above fixed then he ideally would > > like to not inline anything (because except these exceptions above > > .text usually near always shrinks when not inlining). But that's not > > necessarily best for performance. > > well, i think the numbers talk for themselves. Here are my latest > results: i now have x86 allyesconfig numbers too: text data bss dec filename 24190215 6737902 1775592 32703709 vmlinux-allyes-speed-orig 20096423 6758758 1775592 28630773 vmlinux-allyes-orig 19223511 6844002 1775656 27843169 vmlinux-allyes-inline+units+fixes+capable i.e. enabling CONFIG_CC_OPTIMIZE_FOR_SIZE gives a 20.4% size reduction, and adding my latest debloating-queue ontop of gives an additional 4.5% of reduction. The queue is at: http://redhat.com/~mingo/debloating-patches/ note: my focus is still mostly on CC_OPTIMIZE_FOR_SIZE (which is only offered if CONFIG_EMBEDDED is enabled) - if you want a larger kernel optimized for speed, do not enable it. Ingo - 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/
- Follow-Ups:
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Christian Trefzer <ctrefzer@gmx.de>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Adrian Bunk <bunk@stusta.de>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- References:
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Arjan van de Ven <arjan@infradead.org>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Linus Torvalds <torvalds@osdl.org>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Ingo Molnar <mingo@elte.hu>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Ingo Molnar <mingo@elte.hu>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Christoph Hellwig <hch@infradead.org>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Arjan van de Ven <arjan@infradead.org>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Adrian Bunk <bunk@stusta.de>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Jakub Jelinek <jakub@redhat.com>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Andi Kleen <ak@suse.de>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Ingo Molnar <mingo@elte.hu>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- Prev by Date: Re: patch for "scripts/package/buildtar" to pickup "localversion" on "/boot" file objects
- Next by Date: Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- Previous by thread: Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- Next by thread: Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- Index(es):
![]() |