Re: [Bugfix v2] sched: fix possible invalid memory access caused by CPU hot-addition

2014-04-29 Thread Jiang Liu
Thanks Peter, I will try to find other solutions. On 2014/4/28 15:09, Peter Zijlstra wrote: > On Mon, Apr 28, 2014 at 10:48:13AM +0800, Jiang Liu wrote: >> Intel platforms with Nehalem/Westmere/IvyBridge CPUs may support socket >> hotplug/online at runtime. The CPU hot-addition flow is: >> 1)

Re: [Bugfix v2] sched: fix possible invalid memory access caused by CPU hot-addition

2014-04-29 Thread Jiang Liu
Thanks Peter, I will try to find other solutions. On 2014/4/28 15:09, Peter Zijlstra wrote: On Mon, Apr 28, 2014 at 10:48:13AM +0800, Jiang Liu wrote: Intel platforms with Nehalem/Westmere/IvyBridge CPUs may support socket hotplug/online at runtime. The CPU hot-addition flow is: 1) handle CPU

Re: [Bugfix v2] sched: fix possible invalid memory access caused by CPU hot-addition

2014-04-28 Thread Peter Zijlstra
On Mon, Apr 28, 2014 at 10:48:13AM +0800, Jiang Liu wrote: > Intel platforms with Nehalem/Westmere/IvyBridge CPUs may support socket > hotplug/online at runtime. The CPU hot-addition flow is: > 1) handle CPU hot-addition event > 1.a) gather platform specific information > 1.b)

Re: [Bugfix v2] sched: fix possible invalid memory access caused by CPU hot-addition

2014-04-28 Thread Peter Zijlstra
On Mon, Apr 28, 2014 at 10:48:13AM +0800, Jiang Liu wrote: Intel platforms with Nehalem/Westmere/IvyBridge CPUs may support socket hotplug/online at runtime. The CPU hot-addition flow is: 1) handle CPU hot-addition event 1.a) gather platform specific information 1.b) associate

[Bugfix v2] sched: fix possible invalid memory access caused by CPU hot-addition

2014-04-27 Thread Jiang Liu
Intel platforms with Nehalem/Westmere/IvyBridge CPUs may support socket hotplug/online at runtime. The CPU hot-addition flow is: 1) handle CPU hot-addition event 1.a) gather platform specific information 1.b) associate hot-added CPU with NUMA node 1.c) create CPU device 2)

[Bugfix v2] sched: fix possible invalid memory access caused by CPU hot-addition

2014-04-27 Thread Jiang Liu
Intel platforms with Nehalem/Westmere/IvyBridge CPUs may support socket hotplug/online at runtime. The CPU hot-addition flow is: 1) handle CPU hot-addition event 1.a) gather platform specific information 1.b) associate hot-added CPU with NUMA node 1.c) create CPU device 2)