[PATCH v4 14/22] x86, mm, numa: Set memblock nid later

2013-04-11 Thread Yinghai Lu
For the separation, we need to set memblock nid later, as it could change memblock array, and possible doube memblock.memory array that will need to allocate buffer. Only set memblock nid one time for successful path. Also rename numa_register_memblks to numa_check_memblks() after move out code

[PATCH v4 14/22] x86, mm, numa: Set memblock nid later

2013-04-11 Thread Yinghai Lu
For the separation, we need to set memblock nid later, as it could change memblock array, and possible doube memblock.memory array that will need to allocate buffer. Only set memblock nid one time for successful path. Also rename numa_register_memblks to numa_check_memblks() after move out code