From 4690fae9cd254b9f724570e3a3fef8bd6144c673 Mon Sep 17 00:00:00 2001 From: Charan Teja Reddy Date: Fri, 20 Nov 2020 13:21:32 +0530 Subject: [PATCH] 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: 65b0515874b3 ("mm, page_owner: record time and pid") Signed-off-by: Charan Teja Reddy --- mm/page_owner.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mm/page_owner.c b/mm/page_owner.c index 56213834b670..e6eb99f8312c 100644 --- a/mm/page_owner.c +++ b/mm/page_owner.c @@ -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) {