Re: [PATCH 3/3] sched: start stopper early

2015-10-09 Thread Oleg Nesterov
On 10/09, Oleg Nesterov wrote: > > From: Peter Zijlstra Peter, I tried to compromise you. > case CPU_ONLINE: > + stop_machine_unpark(cpu); > /* >* At this point a starting CPU has marked itself as online via >* set_cpu_online().

[PATCH 3/3] sched: start stopper early

2015-10-09 Thread Oleg Nesterov
From: Peter Zijlstra Ensure the stopper thread is active 'early', because the load balancer pretty much assumes that its available. And when 'online && active' the load-balancer is fully available. Not only the numa balancing stop_two_cpus() caller relies on it, but also the self migration

[PATCH 3/3] sched: start stopper early

2015-10-09 Thread Oleg Nesterov
From: Peter Zijlstra Ensure the stopper thread is active 'early', because the load balancer pretty much assumes that its available. And when 'online && active' the load-balancer is fully available. Not only the numa balancing stop_two_cpus() caller relies on it, but also

Re: [PATCH 3/3] sched: start stopper early

2015-10-09 Thread Oleg Nesterov
On 10/09, Oleg Nesterov wrote: > > From: Peter Zijlstra Peter, I tried to compromise you. > case CPU_ONLINE: > + stop_machine_unpark(cpu); > /* >* At this point a starting CPU has marked itself as online via >