Re: [PATCH 14/14] x86, mm: Put pagetable on local node ram

From: Tang Chen
Date: Fri Mar 08 2013 - 03:17:46 EST


Hi Yinghai,

On 03/08/2013 12:58 PM, Yinghai Lu wrote:
......
/* xen has big range in reserved near end of ram, skip it at first.*/
- addr = memblock_find_in_range(ISA_END_ADDRESS, end, PMD_SIZE, PMD_SIZE);
+ addr = memblock_find_in_range(begin, end, PMD_SIZE, PMD_SIZE);

Found that the latest code here is:

414 addr = memblock_find_in_range(ISA_END_ADDRESS, end, PMD_SIZE,
415 PAGE_SIZE);
^^^^^^^^^^^^

The "align" is PAGE_SIZE, not PMD_SIZE. Not sure if it is a problem. :)

Thanks. :)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/