[RESEND PATCH v2 8/9] x86, mem-hotplug: Support initialize page tables from low to high.

2013-09-12 Thread Tang Chen
init_mem_mapping() is called before SRAT is parsed. And memblock will allocate memory for page tables. To prevent page tables being allocated within hotpluggable memory, we will allocate page tables from the end of kernel image to the higher memory. Signed-off-by: Tang Chen Reviewed-by: Zhang Ya

[PATCH v2 8/9] x86, mem-hotplug: Support initialize page tables from low to high.

2013-09-11 Thread Tang Chen
init_mem_mapping() is called before SRAT is parsed. And memblock will allocate memory for page tables. To prevent page tables being allocated within hotpluggable memory, we will allocate page tables from the end of kernel image to the higher memory. Signed-off-by: Tang Chen Reviewed-by: Zhang Ya