[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190511201344.GA11535@avx2>
Date: Sat, 11 May 2019 23:13:44 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: linux-kernel@...r.kernel.org
Cc: x86@...nel.org
Subject: FYI -ffreestanding shrinks kernel by 2% on x86_64
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%.
Powered by blists - more mailing lists