From: Alexey Dobriyan <adobriyan@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: x86@kernel.org
Subject: FYI -ffreestanding shrinks kernel by 2% on x86_64
Date: Sat, 11 May 2019 23:13:44 +0300 [thread overview]
Message-ID: <20190511201344.GA11535@avx2> (raw)
In-Reply-To: <20190511200223.GA14143@avx2>
On Sat, May 11, 2019 at 11:02:24PM +0300, Alexey Dobriyan wrote:
> I compiled current F29 kernel config on x86_64 (5.0.13-200.fc29.x86_64)
> with -ffreestanding. The results are interesting :^):
>
> add/remove: 30/22 grow/shrink: 1290/46867 up/down: 33658/-1778055 (-1744397)
> Total: Before=83298859, After=81554462, chg -2.09% (!)
>
> That's original config with modules compiled built-in.
Argh, it's the other way: adding -ffreestanding shrinks kernel by 2%.
next prev parent reply other threads:[~2019-05-11 20:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-11 20:02 FYI -ffreestanding bloats kernel by 2% on x86_64 Alexey Dobriyan
2019-05-11 20:13 ` Alexey Dobriyan [this message]
2019-05-12 9:32 ` FYI -ffreestanding shrinks " Ingo Molnar
2019-05-12 17:55 ` Alexey Dobriyan
2019-05-13 9:13 ` David Laight
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=20190511201344.GA11535@avx2 \
--to=adobriyan@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=x86@kernel.org \
/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