RE: FYI -ffreestanding shrinks kernel by 2% on x86_64

2019-05-13 Thread David Laight
From: Ingo Molnar > Sent: 12 May 2019 10:32 ... > Has anyone investigated by any chance where the -ffreestanding space > savings come from mostly - is it mostly in cold paths, or does it make or > hot codepaths more efficient as well? > > If it's the latter then the kernel would be directly faster

Re: FYI -ffreestanding shrinks kernel by 2% on x86_64

2019-05-12 Thread Alexey Dobriyan
On Sun, May 12, 2019 at 11:32:28AM +0200, Ingo Molnar wrote: > > * Alexey Dobriyan wrote: > > > 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 :^

Re: FYI -ffreestanding shrinks kernel by 2% on x86_64

2019-05-12 Thread Ingo Molnar
* Alexey Dobriyan wrote: > 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

FYI -ffreestanding shrinks kernel by 2% on x86_64

2019-05-11 Thread Alexey Dobriyan
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