Re: [PATCH RFC 1/4] Generic BUG handling.

From: Jeremy Fitzhardinge
Date: Fri Sep 29 2006 - 05:33:08 EST


Andrew Morton wrote:
For my x86_64 usualconfig .text (from objdump --headers) went from
0x002c55c7 down to 0x002c2bda, which is 10.5k saved.

According to /usr/bin/size, vmlinux got bigger:

box:/usr/src/25> size vmlinux text data bss dec hex filename
3597448 716340 510456 4824244 499cb4 vmlinux-before
3640604 716228 510456 4867288 4a44d8 vmlinux-after

Good, that's what we'd hope for. It's going to be a bigger overall than the previous i386 code, because it's now saving away the EIP as well as filename* and line for each BUG.

But that's because size(1) is too blunt an instrument: the sum of .text and
the new bug section got larger.

size -A will tell you everything you ever wanted to know.

I think we need to thank the powerpc guys, then take away their function
name printing ;)

I think so...

J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/