Re: [PATCH 5/7] x86/jump labels: Use etiher 5 byte or 2 byte jumps

From: Jason Baron
Date: Mon Mar 12 2012 - 14:03:55 EST


On Mon, Mar 12, 2012 at 01:27:07PM -0400, Steven Rostedt wrote:
> Here's my numbers from the latest changes. They are not as big, perhaps
> I had debug enabled too. I took a debian 3.0 config, enabled jump labels
> and some tracing, did a make localyesconfig (something broke it as the
> config still had modules that I had to manual convert to =y). Here's the
> results:
>
>
> gcc 4.6.0
>
> text data bss dec hex filename
> 14355064 1810272 5722112 21887448 14df9d8 vmlinux
> 14354490 1810400 5722112 21887002 14df81a vmlinux-patched
>
> It's only a 574 byte savings. That's not much. I wish I had the config I
> used the first time. I may have had debug on that gave it a bigger
> impact.
>
> Attached is the config:
>
> -- Steve
>

At least you got a decrease! Using your .config I got the same 574 byte
savings:

14310698 1810160 5722112 21842970 14d4c1a vmlinux-orig
14310124 1810288 5722112 21842524 14d4a5c vmlinux-new

I'm attaching my .config which is basically a defconfig with a few extra
configs for my h/w + kvm + ext4.

Thanks,

-Jason

Attachment: jasons-config.bz2
Description: BZip2 compressed data