aboutsummaryrefslogtreecommitdiffstats
path: root/mm/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/debug.c')
-rw-r--r--mm/debug.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mm/debug.c b/mm/debug.c
index 5ce45c9a29b5..0e58f3211f89 100644
--- a/mm/debug.c
+++ b/mm/debug.c
@@ -95,7 +95,10 @@ void dump_page_badflags(struct page *page, const char *reason,
95 dump_flags(page->flags & badflags, 95 dump_flags(page->flags & badflags,
96 pageflag_names, ARRAY_SIZE(pageflag_names)); 96 pageflag_names, ARRAY_SIZE(pageflag_names));
97 } 97 }
98 mem_cgroup_print_bad_page(page); 98#ifdef CONFIG_MEMCG
99 if (page->mem_cgroup)
100 pr_alert("page->mem_cgroup:%p\n", page->mem_cgroup);
101#endif
99} 102}
100 103
101void dump_page(struct page *page, const char *reason) 104void dump_page(struct page *page, const char *reason)