Re: [RFC PATCH 09/10] POWERPC: smp: remove call to ipi_call_lock()/ipi_call_unlock()

2012-06-16 Thread Paul E. McKenney
On Sat, Jun 16, 2012 at 07:30:58PM +0200, Peter Zijlstra wrote: > On Sat, 2012-06-16 at 09:32 -0700, Paul E. McKenney wrote: > > However, there is an effort to get rid of stop_machine() from the > > CPU-down path... So something else will be needed. > > Elsewhere in this thread I mentioned we co

Re: [RFC PATCH 09/10] POWERPC: smp: remove call to ipi_call_lock()/ipi_call_unlock()

2012-06-16 Thread Peter Zijlstra
On Sat, 2012-06-16 at 09:32 -0700, Paul E. McKenney wrote: > However, there is an effort to get rid of stop_machine() from the > CPU-down path... So something else will be needed. Elsewhere in this thread I mentioned we could do a synchronize_sched(). I think that covers most of what stop-machin

Re: [RFC PATCH 09/10] POWERPC: smp: remove call to ipi_call_lock()/ipi_call_unlock()

2012-06-16 Thread Paul E. McKenney
On Tue, May 29, 2012 at 03:16:04PM +0800, Yong Zhang wrote: > From: Yong Zhang > > 1) call_function.lock used in smp_call_function_many() is just to protect >call_function.queue and &data->refs, cpu_online_mask is outside of the >lock. And it's not necessary to protect cpu_online_mask, >