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

Add pid and page allocated time in page owner dump.

Change-Id: I8ea2b18c14ad887f49fc7b05174169cc1fbb902e
Fixes: 65b0515874 ("mm, page_owner: record time and pid")
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
This commit is contained in:
Charan Teja Reddy 2020-11-20 13:21:32 +05:30
parent e0f5b51058
commit 4690fae9cd

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 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);
if (!handle) {