From: Peter Zijlstra on
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?

called from:
start_secondary()
smp_callin()
notify_cpu_starting()

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Gleb Natapov on
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(a)kvack.org. For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont(a)kvack.org"> email(a)kvack.org </a>

--
Gleb.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Rik van Riel on
On 07/19/2010 11:30 AM, Gleb Natapov wrote:
> Enable async PF in a guest if async PF capability is discovered.
>
> Signed-off-by: Gleb Natapov<gleb(a)redhat.com>

Acked-by: Rik van Riel <riel(a)redhat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/