On Mon, 14 Apr 2014 16:51:19 +0200
Ingo Molnar wrote:
>
> * Igor Mammedov wrote:
>
> > On Mon, 14 Apr 2014 12:03:35 +0200
> > Ingo Molnar wrote:
> >
> > >
> > > * Igor Mammedov wrote:
> > >
> > > > On Mon, 14 Apr 2014 11:16:00 +0200
> > > > Ingo Molnar wrote:
> > > >
> > > > >
> > > >
* Igor Mammedov wrote:
> On Mon, 14 Apr 2014 12:03:35 +0200
> Ingo Molnar wrote:
>
> >
> > * Igor Mammedov wrote:
> >
> > > On Mon, 14 Apr 2014 11:16:00 +0200
> > > Ingo Molnar wrote:
> > >
> > > >
> > > > * Igor Mammedov wrote:
> > > >
> > > > > /*
> > > > > + * wait for AC
On Mon, 14 Apr 2014 12:03:35 +0200
Ingo Molnar wrote:
>
> * Igor Mammedov wrote:
>
> > On Mon, 14 Apr 2014 11:16:00 +0200
> > Ingo Molnar wrote:
> >
> > >
> > > * Igor Mammedov wrote:
> > >
> > > > /*
> > > > +* wait for ACK from master CPU before continuing
> > > > +
On Mon, 14 Apr 2014 12:03:35 +0200
Ingo Molnar wrote:
>
> * Igor Mammedov wrote:
>
> > On Mon, 14 Apr 2014 11:16:00 +0200
> > Ingo Molnar wrote:
> >
> > >
> > > * Igor Mammedov wrote:
> > >
> > > > /*
> > > > +* wait for ACK from master CPU before continuing
> > > > +
* Igor Mammedov wrote:
> On Mon, 14 Apr 2014 11:16:00 +0200
> Ingo Molnar wrote:
>
> >
> > * Igor Mammedov wrote:
> >
> > > /*
> > > + * wait for ACK from master CPU before continuing
> > > + * with AP initialization
> > > + */
> > > + cpumask_set_cpu(cpu, cpu_initialized_mask);
> > >
On Mon, 14 Apr 2014 11:16:00 +0200
Ingo Molnar wrote:
>
> * Igor Mammedov wrote:
>
> > /*
> > +* wait for ACK from master CPU before continuing
> > +* with AP initialization
> > +*/
> > + cpumask_set_cpu(cpu, cpu_initialized_mask);
> > + while (!cpumask_test_cpu(cpu, cpu_ca
* Igor Mammedov wrote:
> /*
> + * wait for ACK from master CPU before continuing
> + * with AP initialization
> + */
> + cpumask_set_cpu(cpu, cpu_initialized_mask);
> + while (!cpumask_test_cpu(cpu, cpu_callout_mask))
> + cpu_relax();
> + /*
> +
Hang is observed on virtual machines during CPU hotplug,
especially in big guests with many CPUs. (It reproducible
more often if host is over-committed).
It happens because master CPU gives up waiting on
secondary CPU and allows it to run wild. As result
AP causes locking or crashing system. For e
8 matches
Mail list logo