As mentioned by HPA before, when we are using movablemem_map=acpi, if all the memory in SRAT is hotpluggable, then the kernel will have no memory to use, and will fail to boot. Before parsing SRAT, memblock has already reserved some memory in memblock.reserve, which is used by the kernel, such as storing the kernel image. We are not able to prevent the kernel from using these memory. So, these 2 patches make the node which the kernel resides in un-hotpluggable. patch1: Do not add the memory reserved by memblock into movablemenm_map.map[]. patch2: Do not add any other memory ranges in the same node into movablemenm_map.map[], so that make the node which the kernel resides in un-hotpluggable. Tang Chen (2): acpi, movablemem_map: Exclude memblock.reserved ranges when parsing SRAT. acpi, movablemem_map: Make whatever nodes the kernel resides in un-hotpluggable. Documentation/kernel-parameters.txt | 6 ++++++ arch/x86/mm/srat.c | 35 ++++++++++++++++++++++++++++++++++- include/linux/mm.h | 1 + 3 files changed, 41 insertions(+), 1 deletions(-) -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>