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

From: Andrew Morton
Date: Fri Sep 29 2006 - 05:16:48 EST


On Thu, 28 Sep 2006 15:54:45 -0700
Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> This patch adds common handling for kernel BUGs, for use by
> architectures as they wish. The code is derived from arch/powerpc.

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

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

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

-
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/