Re: [PATCH,RFC] Initialize call_rcu_sched sooner

From: Paul E. McKenney
Date: Tue Mar 25 2008 - 14:49:38 EST


On Tue, Mar 25, 2008 at 08:53:08AM -0400, Mathieu Desnoyers wrote:
> Initialize call_rcu_sched sooner so it can be used in module_init stage.
>
> (needed for LTTng)

This passes smoke tests, so have incorporated it. Thank you, Mathieu!!!

Thanx, Paul

> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx>
> ---
> init/main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux-2.6-lttng/init/main.c
> ===================================================================
> --- linux-2.6-lttng.orig/init/main.c 2008-03-25 08:49:02.000000000 -0400
> +++ linux-2.6-lttng/init/main.c 2008-03-25 08:49:20.000000000 -0400
> @@ -738,13 +738,13 @@ static void __init do_initcalls(void)
> */
> static void __init do_basic_setup(void)
> {
> + rcu_init_sched();
> /* drivers will send hotplug events */
> init_workqueues();
> usermodehelper_init();
> driver_init();
> init_irq_proc();
> do_initcalls();
> - rcu_init_sched();
> }
>
> static int __initdata nosoftlockup;
> --
> Mathieu Desnoyers
> Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
> OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--
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/