Re: Linux 2.4.19pre3-ac4

Ville Herva (vherva@niksula.hut.fi)
Thu, 21 Mar 2002 21:16:12 +0200


On Thu, Mar 21, 2002 at 04:28:52PM +0100, you [J.A. Magallon] wrote:
>
> On 2002.03.21 Adam Kropelin wrote:
>
> >> o The incredible shrinking kernel patch (Andrew Morton)
> >
> >Is there a magic incantation I need in order to see an improvement from this?
> >I'm observing a slight (< 10 KB) increase from -ac3 to -ac4. Same .config, same
> >compiler.
> >
> >I only build 2 modules; everything else is static. Perhaps Andrew's fix is for
> >heavy module users?
> >
>
> I think it gives about 100k size decrease IFF you have verbose BUG activated.

See
http://marc.theaimsgroup.com/?l=linux-kernel&m=101663081100880&w=2
Subject: [patch] smaller kernels

and
http://marc.theaimsgroup.com/?l=linux-kernel&m=101663080500800&w=2
[patch] x86 BUG handling

Of the latter, Andrew says: "kernel size is reduced by 90 kbytes
relative to a CONFIG_DEBUG_BUGVERBOSE=y build" and of the former: "Kernel
size is reduced by another 110 kbytes in my build."

The former is a duplicate string removal patch, and gcc >= 3 does most of
that automatically, so you won't see the much difference. The latter only
reduces kernel size compared to BUG_VERBOSE=y (and may slightly increase the
size compared the BUG_VERBOSE=n).

-- v --

v@iki.fi
-
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/