Re: [RFC PATCH 0/6] module, kbuild: Faster boot with custom kernel.

From: Kay Sievers
Date: Wed Feb 25 2009 - 13:13:09 EST


On Wed, Feb 25, 2009 at 08:03, Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:
> On Tuesday 24 February 2009 03:12:28 Kay Sievers wrote:
>> Rusty,
>> are you taking care, that this patch gets merged somewhere, and shows
>> up in -next?
>
> Yep, already done.

Nice. Thanks!

>> I still get a ~10% improvement without the mutex, and traces show some
>> parallelism from different modprobe processes. Any idea how to safely
>> minimize the time we need to hold it?
>
> OK, let's do that then.
>
> <hack hack>
>
> Here's a backported version which you should be able to simply apply; it'll
> be good to check that we still win...

It's a little bit faster, and the traces show a bit less serialization
and more overlapping code execution.

The difference is very small though, and hard to notice -- loading of
all the 39 modules triggered by a udev coldplug run finishes after
0.23 seconds. After calling init, the last of these modules goes
"live" after 0.26 seconds. Most of the time the modules need is spent
in simplify_symbols().

Thanks,
Kay
--
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/