Re: generic_stop_cpus: prevent parallel execution

2010-10-11 Thread Jung-uk Kim
On Monday 11 October 2010 12:11 pm, John Baldwin wrote: > On Thursday, October 07, 2010 1:53:46 pm Andriy Gapon wrote: > > Here is patch that applies the technique from panic() to > > generic_stop_cpus() to prevent its parallel execution on multiple > > CPUs: > > http://people.freebsd.org/~avg/gene

Re: generic_stop_cpus: prevent parallel execution

2010-10-11 Thread John Baldwin
On Thursday, October 07, 2010 1:53:46 pm Andriy Gapon wrote: > > Here is patch that applies the technique from panic() to generic_stop_cpus() > to > prevent its parallel execution on multiple CPUs: > http://people.freebsd.org/~avg/generic_stop_cpus.diff > > In theory this could lead to two CPUs

generic_stop_cpus: prevent parallel execution

2010-10-07 Thread Andriy Gapon
Here is patch that applies the technique from panic() to generic_stop_cpus() to prevent its parallel execution on multiple CPUs: http://people.freebsd.org/~avg/generic_stop_cpus.diff In theory this could lead to two CPUs stopping each other and everyone else, and thus a total system halt. Also,