summaryrefslogtreecommitdiff
path: root/mm/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/debug.c')
-rw-r--r--mm/debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/debug.c b/mm/debug.c
index 52e35fa3462c..3621385c09ac 100644
--- a/mm/debug.c
+++ b/mm/debug.c
@@ -10,6 +10,7 @@
#include <linux/trace_events.h>
#include <linux/memcontrol.h>
#include <linux/migrate.h>
+#include <linux/page_owner.h>
char *migrate_reason_names[MR_TYPES] = {
"compaction",
@@ -117,6 +118,7 @@ void dump_page_badflags(struct page *page, const char *reason,
void dump_page(struct page *page, const char *reason)
{
dump_page_badflags(page, reason, 0);
+ dump_page_owner(page);
}
EXPORT_SYMBOL(dump_page);