From: Ingo Molnar <mingo@elte.hu>
To: Sitsofe Wheeler <sitsofe@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Help text for config OPTIMIZE_INLINING
Date: Sat, 11 Oct 2008 16:36:53 +0200 [thread overview]
Message-ID: <20081011143653.GB6274@elte.hu> (raw)
In-Reply-To: <537458.72510.qm@web38204.mail.mud.yahoo.com>
* 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
next prev parent reply other threads:[~2008-10-11 14:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-11 13:30 Sitsofe Wheeler
2008-10-11 14:36 ` Ingo Molnar [this message]
2008-10-11 19:05 Sitsofe Wheeler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081011143653.GB6274@elte.hu \
--to=mingo@elte.hu \
--cc=linux-kernel@vger.kernel.org \
--cc=sitsofe@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®