Re: [PATCH 08/14] x86, mm, numa: use numa_meminfo to check node_map_pfn alignment

2013-03-07 Thread Yinghai Lu
On Thu, Mar 7, 2013 at 10:26 PM, Tejun Heo wrote: > On Thu, Mar 07, 2013 at 08:58:34PM -0800, Yinghai Lu wrote: >> We could use numa_meminfo directly instead of memblock nid. >> >> So we could move down set memblock nid down and only do it one time >> for successful path >> >> Move node_map_pfn_al

Re: [PATCH 08/14] x86, mm, numa: use numa_meminfo to check node_map_pfn alignment

2013-03-07 Thread Tejun Heo
On Thu, Mar 07, 2013 at 08:58:34PM -0800, Yinghai Lu wrote: > We could use numa_meminfo directly instead of memblock nid. > > So we could move down set memblock nid down and only do it one time > for successful path > > Move node_map_pfn_alignment() to arch/x86/mm as no other user for it. Please

[PATCH 08/14] x86, mm, numa: use numa_meminfo to check node_map_pfn alignment

2013-03-07 Thread Yinghai Lu
We could use numa_meminfo directly instead of memblock nid. So we could move down set memblock nid down and only do it one time for successful path Move node_map_pfn_alignment() to arch/x86/mm as no other user for it. Signed-off-by: Yinghai Lu Cc: Tejun Heo --- arch/x86/mm/numa.c | 76 +