Re: [Part1 PATCH v5 11/22] x86, mm, numa: Call numa_meminfo_cover_memory() checking early

2013-06-17 Thread Tejun Heo
On Thu, Jun 13, 2013 at 09:02:58PM +0800, Tang Chen wrote: > From: Yinghai Lu > > In order to seperate parsing numa info procedure into two steps, > we need to set memblock nid later, as it could change memblock > array, and possible doube memblock.memory array which will need > to allocate

Re: [Part1 PATCH v5 11/22] x86, mm, numa: Call numa_meminfo_cover_memory() checking early

2013-06-17 Thread Tejun Heo
On Thu, Jun 13, 2013 at 09:02:58PM +0800, Tang Chen wrote: From: Yinghai Lu ying...@kernel.org In order to seperate parsing numa info procedure into two steps, we need to set memblock nid later, as it could change memblock array, and possible doube memblock.memory array which will need to

[PATCH v5 11/22] x86, mm, numa: Call numa_meminfo_cover_memory() checking early

2013-06-14 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. We do not need to use nid in memblock to find out absent pages. So we can move that numa_meminfo_cover_memory() early. Also could

[PATCH v5 11/22] x86, mm, numa: Call numa_meminfo_cover_memory() checking early

2013-06-14 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. We do not need to use nid in memblock to find out absent pages. So we can move that numa_meminfo_cover_memory() early. Also could

[Part1 PATCH v5 11/22] x86, mm, numa: Call numa_meminfo_cover_memory() checking early

2013-06-13 Thread Tang Chen
From: Yinghai Lu In order to seperate parsing numa info procedure into two steps, we need to set memblock nid later, as it could change memblock array, and possible doube memblock.memory array which will need to allocate buffer. We do not need to use nid in memblock to find out absent pages. So

[Part1 PATCH v5 11/22] x86, mm, numa: Call numa_meminfo_cover_memory() checking early

2013-06-13 Thread Tang Chen
From: Yinghai Lu ying...@kernel.org In order to seperate parsing numa info procedure into two steps, we need to set memblock nid later, as it could change memblock array, and possible doube memblock.memory array which will need to allocate buffer. We do not need to use nid in memblock to find