Re: cpu_up not called for boot cpu

From: Andi Kleen
Date: Wed Jun 28 2006 - 11:49:34 EST


Keith Owens <kaos@xxxxxxx> writes:

> cpu_up() is only called for secondary cpus, not for the boot cpu. That
> means that code hooked into the cpu_chain notifier never gets called
> for the boot cpu, which prevents additional subsystems from taking
> action for the boot cpu. So how are additional subsystems meant to be
> initialised for the boot cpu?

They ought to initialize themselves for the already online cpus
when they start.

Any other way would make them lose CPUs if they were loaded
after the other CPUs are added.

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