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

From: Kay Sievers
Date: Mon Feb 23 2009 - 11:42:41 EST


On Fri, Feb 20, 2009 at 12:32, Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:
> On Friday 20 February 2009 11:28:55 Rusty Russell wrote:
>> + /* Unlink carefully: kallsyms could be walking list. */
>> + __list_del(&mod->list);
>> + synchronize_sched();
>
> That should be list_del_rcu() of course.

Rusty,
are you taking care, that this patch gets merged somewhere, and shows
up in -next?

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?

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/