[PATCH v2 19/20] x86, mm: Make init_mem_mapping be able to be called several times

2013-03-09 Thread Yinghai Lu
Prepare to put page table on local nodes. Move calling of init_mem_mapping to early_initmem_init. Rework alloc_low_pages to alloc page table in following order: BRK, local node, low range Still only load_cr3 one time, otherwise we would break xen 64bit again. Signed-off-by: Yinghai Lu

Re: [PATCH v2 19/20] x86, mm: Make init_mem_mapping be able to be called several times

2013-03-11 Thread Konrad Rzeszutek Wilk
On Sat, Mar 09, 2013 at 10:44:46PM -0800, Yinghai Lu wrote: > Prepare to put page table on local nodes. > > Move calling of init_mem_mapping to early_initmem_init. > > Rework alloc_low_pages to alloc page table in following order: > BRK, local node, low range > > Still only load_cr3 one ti

Re: [PATCH v2 19/20] x86, mm: Make init_mem_mapping be able to be called several times

2013-03-11 Thread Yinghai Lu
On Mon, Mar 11, 2013 at 6:16 AM, Konrad Rzeszutek Wilk wrote: > On Sat, Mar 09, 2013 at 10:44:46PM -0800, Yinghai Lu wrote: >> Prepare to put page table on local nodes. >> >> Move calling of init_mem_mapping to early_initmem_init. >> >> Rework alloc_low_pages to alloc page table in following order