Re: x86_64 Compiler Output Kernel Bloat v4.4

From: H. Peter Anvin
Date: Wed Jan 20 2016 - 09:53:05 EST


On January 20, 2016 6:40:35 AM PST, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>On Tue, 19 Jan 2016 08:47:04 -0700
>Jeff Merkey <linux.mdb@xxxxxxxxx> wrote:
>
>
>> I'll check my CONFIG and see if there's a way to turn this off.
>> vmlinux.o is at 385MB on my build -- about 20% of that is this NOP
>> instruction for a trace program that in most cases is probably never
>> used. Oink ... Oink ... Oink ...
>>
>
>The bloat is well known and was a sacrifice for the feature. This
>feature is optional. If you don't like it, simple disable all tracing.
>Then you'll save a lot of kernel text.
>
>-- Steve

Also, looking at vmlinux.o for size is bogus - most of that is debugging information.
--
Sent from my Android device with K-9 Mail. Please excuse brevity and formatting.