Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 30, 2005 at 10:40:45AM +0100, Ingo Molnar wrote:
>     text    data     bss     dec     hex filename
>  4080998  870384  387260 5338642  517612 vmlinux-orig
>  4084421  872024  387260 5343705  5189d9 vmlinux-inline
>  4010957  834048  387748 5232753  4fd871 vmlinux-inline+units
>  4010039  833112  387748 5230899  4fd133 vmlinux-inline+units+fixes
>  4007617  833120  387748 5228485  4fc7c5 vmlinux-inline+units+fixes+capable
> 
> or a 1.8% code size reduction.

But again if you only look at text size you ideally would want
to never inline anything, except the cases above and only called
once functions. So just turn it off except when forced? That would
be the logical conclusion from your strategy. I'm not sure it's a good
one.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux