lkml.org 
[lkml]   [2008]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Help text for config OPTIMIZE_INLINING

* Sitsofe Wheeler <sitsofe@yahoo.com> wrote:

> The main help text for the OPTIMIZE_INLINING kconfig option says: "The
> gcc 4.x series have a rewritten inlining algorithm and disabling this
> option will generate a smaller kernel there."
>
> That suggests that to generate a smaller kernel one should set the
> option to n. However the short text says: "Allow gcc to uninline
> functions marked 'inline'"
>
> While suggests that one should set it to y to generate smaller
> kernels. My own experience says that setting it to y DOES generate a
> smaller kernel so perhaps the main text should be changed to reflect
> this?

sure, could you send a patch (with lkml Cc:-ed) that does this?

Also, would be nice if you sent with/without vmlinux size numbers for
the config you are using. Btw., do you have
CONFIG_CC_OPTIMIZE_FOR_SIZE=y enabled as well? That too shrinks the
kernel (which speeds it up as well on moder CPUs), quite visibly.

Ingo


\
 
 \ /
  Last update: 2008-10-11 16:39    [W:1.213 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site