Merge "mm: page_owner: add pid, allocated time in page owner dump"

This commit is contained in:
qctecmdr 2020-11-24 12:44:43 -08:00 committed by Gerrit - the friendly Code Review server
commit e8b3c55035

View File

@ -595,7 +595,8 @@ void __dump_page_owner(struct page *page)
pr_alert("page_owner tracks the page as freed\n"); pr_alert("page_owner tracks the page as freed\n");
pr_alert("page last allocated via order %u, migratetype %s, gfp_mask %#x(%pGg), pid %d, ts %llu ns\n", pr_alert("page last allocated via order %u, migratetype %s, gfp_mask %#x(%pGg), pid %d, ts %llu ns\n",
page_owner->order, migratetype_names[mt], gfp_mask, &gfp_mask); page_owner->order, migratetype_names[mt], gfp_mask, &gfp_mask,
page_owner->pid, page_owner->ts_nsec);
handle = READ_ONCE(page_owner->handle); handle = READ_ONCE(page_owner->handle);
if (!handle) { if (!handle) {