Re: [RFC Patch V1 28/30] mm: Update _mem_id_[] for every possible CPU when memory configuration changes

2014-07-23 Thread Jiang Liu
On 2014/7/22 1:47, Nishanth Aravamudan wrote: > On 11.07.2014 [15:37:45 +0800], Jiang Liu wrote: >> Current kernel only updates _mem_id_[cpu] for onlined CPUs when memory >> configuration changes. So kernel may allocate memory from remote node >> for a CPU if the CPU is still in absent or offline

Re: [RFC Patch V1 28/30] mm: Update _mem_id_[] for every possible CPU when memory configuration changes

2014-07-21 Thread Nishanth Aravamudan
On 11.07.2014 [15:37:45 +0800], Jiang Liu wrote: > Current kernel only updates _mem_id_[cpu] for onlined CPUs when memory > configuration changes. So kernel may allocate memory from remote node > for a CPU if the CPU is still in absent or offline state even if the > node associated with the CPU has

[RFC Patch V1 28/30] mm: Update _mem_id_[] for every possible CPU when memory configuration changes

2014-07-11 Thread Jiang Liu
Current kernel only updates _mem_id_[cpu] for onlined CPUs when memory configuration changes. So kernel may allocate memory from remote node for a CPU if the CPU is still in absent or offline state even if the node associated with the CPU has already been onlined. This patch tries to improve perfor