[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081011143653.GB6274@elte.hu>
Date: Sat, 11 Oct 2008 16:36:53 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Sitsofe Wheeler <sitsofe@...oo.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Help text for config OPTIMIZE_INLINING
* Sitsofe Wheeler <sitsofe@...oo.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists