Re: kbuild:

From: Sam Ravnborg
Date: Sat Feb 18 2006 - 17:36:36 EST


On Sat, Feb 18, 2006 at 11:12:28PM +0100, Andi Kleen wrote:
> Sam Ravnborg <sam@xxxxxxxxxxxx> writes:
>
> > I have moved the functionality of reference_init + reference_discarded
> > to modpost to secure a much wider use of this check.
>
> How much does that slow the build down?
It obviously depends on number of modules / size of vmlinux.
With x86_64 and defconfig + all oss drivers configured as modules the
modpost stage takes around 0.2 sec in total. So this is down in the
noise level. Building allmodconfig kernel atm and if I see > 2 sec
difference with and without the check I will do a follow-up post.

Obviously the more modules with problems the longer time. So I will
skip the warning messages in the measurements since I assume they will
be taken care of.

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