The patch titled Subject: mm/x86: use common help functions to free reserved pages has been removed from the -mm tree. Its filename was mm-x86-use-common-help-functions-to-free-reserved-pages.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Jiang Liu <liuj97@xxxxxxxxx> Subject: mm/x86: use common help functions to free reserved pages Use common help functions to free reserved pages. Signed-off-by: Jiang Liu <jiang.liu@xxxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86/mm/init.c | 5 +---- arch/x86/mm/init_64.c | 5 ++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff -puN arch/x86/mm/init.c~mm-x86-use-common-help-functions-to-free-reserved-pages arch/x86/mm/init.c --- a/arch/x86/mm/init.c~mm-x86-use-common-help-functions-to-free-reserved-pages +++ a/arch/x86/mm/init.c @@ -515,11 +515,8 @@ void free_init_pages(char *what, unsigne printk(KERN_INFO "Freeing %s: %luk freed\n", what, (end - begin) >> 10); for (; addr < end; addr += PAGE_SIZE) { - ClearPageReserved(virt_to_page(addr)); - init_page_count(virt_to_page(addr)); memset((void *)addr, POISON_FREE_INITMEM, PAGE_SIZE); - free_page(addr); - totalram_pages++; + free_reserved_page(virt_to_page(addr)); } #endif } diff -puN arch/x86/mm/init_64.c~mm-x86-use-common-help-functions-to-free-reserved-pages arch/x86/mm/init_64.c --- a/arch/x86/mm/init_64.c~mm-x86-use-common-help-functions-to-free-reserved-pages +++ a/arch/x86/mm/init_64.c @@ -1067,10 +1067,9 @@ void __init mem_init(void) /* clear_bss() already clear the empty_zero_page */ - reservedpages = 0; - - /* this will put all low memory onto the freelists */ register_page_bootmem_info(); + + /* this will put all memory onto the freelists */ totalram_pages = free_all_bootmem(); absent_pages = absent_pages_in_range(0, max_pfn); _ Patches currently in -mm which might be from liuj97@xxxxxxxxx are origin.patch mm-sparc-use-common-help-functions-to-free-reserved-pages.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html