Re: [PATCH v4 03/12] Add async PF initialization to PV guest.

From: Gleb Natapov
Date: Thu Jul 08 2010 - 09:25:13 EST


On Wed, Jul 07, 2010 at 05:41:01PM +0200, Peter Zijlstra wrote:
> On Tue, 2010-07-06 at 19:24 +0300, Gleb Natapov wrote:
> > @@ -329,6 +330,8 @@ notrace static void __cpuinit start_secondary(void *unused)
> > per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE;
> > x86_platform.nmi_init();
> >
> > + kvm_guest_cpu_init();
> > +
> > /* enable local interrupts */
> > local_irq_enable();
>
> CPU_STARTING hotplug notifier is too early?
>
Actually no. I will move this call into cpu notifier.

> called from:
> start_secondary()
> smp_callin()
> notify_cpu_starting()
>
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@xxxxxxxxxx For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>

--
Gleb.
--
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/