The patch titled Subject: mm-memory_hotplug-be-more-verbose-for-memory-offline-failures-update has been added to the -mm tree. Its filename is mm-memory_hotplug-be-more-verbose-for-memory-offline-failures-update.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-memory_hotplug-be-more-verbose-for-memory-offline-failures-update.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-memory_hotplug-be-more-verbose-for-memory-offline-failures-update.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Michal Hocko <mhocko@xxxxxxxx> Subject: mm-memory_hotplug-be-more-verbose-for-memory-offline-failures-update tweak dump_page() `reason' text Link: http://lkml.kernel.org/r/20181116083020.20260-6-mhocko@xxxxxxxxxx Signed-off-by: Michal Hocko <mhocko@xxxxxxxx> Cc: Anshuman Khandual <anshuman.khandual@xxxxxxx> Cc: Baoquan He <bhe@xxxxxxxxxx> Cc: Oscar Salvador <OSalvador@xxxxxxxx> Cc: Oscar Salvador <osalvador@xxxxxxx> Cc: William Kucharski <william.kucharski@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- --- a/mm/memory_hotplug.c~mm-memory_hotplug-be-more-verbose-for-memory-offline-failures-update +++ a/mm/memory_hotplug.c @@ -1411,9 +1411,9 @@ do_migrate_range(unsigned long start_pfn MIGRATE_SYNC, MR_MEMORY_HOTPLUG); if (ret) { list_for_each_entry(page, &source, lru) { - pr_warn("migrating pfn %lx failed: %d", + pr_warn("migrating pfn %lx failed ret:%d ", page_to_pfn(page), ret); - dump_page(page, NULL); + dump_page(page, "migration failure"); } putback_movable_pages(&source); } --- a/mm/page_alloc.c~mm-memory_hotplug-be-more-verbose-for-memory-offline-failures-update +++ a/mm/page_alloc.c @@ -7977,7 +7977,7 @@ bool has_unmovable_pages(struct zone *zo return false; unmovable: WARN_ON_ONCE(zone_idx(zone) == ZONE_MOVABLE); - dump_page(pfn_to_page(pfn+iter), "has_unmovable_pages"); + dump_page(pfn_to_page(pfn+iter), "unmovable page"); return true; } _ Patches currently in -mm which might be from mhocko@xxxxxxxx are mm-print-more-information-about-mapping-in-__dump_page.patch mm-lower-the-printk-loglevel-for-__dump_page-messages.patch mm-memory_hotplug-drop-pointless-block-alignment-checks-from-__offline_pages.patch mm-memory_hotplug-print-reason-for-the-offlining-failure.patch mm-memory_hotplug-be-more-verbose-for-memory-offline-failures.patch mm-memory_hotplug-be-more-verbose-for-memory-offline-failures-update.patch mm-memory_hotplug-do-not-clear-numa_node-association-after-hot_remove.patch