mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
Merge "mm: memory_hotplug: migration failure info of a page under DEBUG_VM"
This commit is contained in:
commit
9be27828f5
1 changed files with 4 additions and 1 deletions
|
|
@ -1407,7 +1407,10 @@ do_migrate_range(unsigned long start_pfn, unsigned long end_pfn)
|
|||
if (__ratelimit(&migrate_rs)) {
|
||||
pr_warn("migrating pfn %lx failed ret:%d\n",
|
||||
page_to_pfn(page), ret);
|
||||
dump_page(page, "migration failure");
|
||||
__dump_page(page, "migration failure");
|
||||
#if defined(CONFIG_DEBUG_VM)
|
||||
dump_page_owner(page);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
putback_movable_pages(&source);
|
||||
|
|
|
|||
Loading…
Reference in a new issue