Re: [PATCH] BUG preserve registers

From: H. Peter Anvin (hpa@zytor.com)
Date: Sat Feb 09 2002 - 23:23:15 EST


Andrew Morton wrote:

> Alan Cox wrote:
>
>>>This works for me, from in-kernel as well as in-module. It'd
>>>be good if someone more familiar with x86 could check it over.
>>>
>>This looks a really bad reversion. The CONFIG_DEBUG_BUGVERBOSE ifdef saves
>>over 70K of memory on my standard kernel build.
>>
>
> About the time the 70k claim was made, I moved the printk out-of-line,
> so things got not so bad. However, with my (large) kernel build, on
> egcs-1.1.2:
>
> non-verbose BUG:
> 2589971 293436 373404 3256811 31b1eb vmlinux
> verbose BUG:
> 2709055 293436 373404 3375895 338317 vmlinux
> Patched:
> 2694537 293436 373404 3361377 334a61 vmlinux
>
> Which is 100k, which is preposterous.
>

Use "size" to determine the actual size, or strip the binary.

        -hpa

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



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:30 EST