afs: Provide a splice-read wrapper
[linux-block.git] / mm / debug.c
index 96d594e162925c945104f8fe52a443f2d50a2a59..c7b228097bd98f1fd89c88093380151380884073 100644 (file)
@@ -36,6 +36,11 @@ const struct trace_print_flags pageflag_names[] = {
        {0, NULL}
 };
 
+const struct trace_print_flags pagetype_names[] = {
+       __def_pagetype_names,
+       {0, NULL}
+};
+
 const struct trace_print_flags gfpflag_names[] = {
        __def_gfpflag_names,
        {0, NULL}
@@ -115,6 +120,8 @@ static void __dump_page(struct page *page)
 
        pr_warn("%sflags: %pGp%s\n", type, &head->flags,
                page_cma ? " CMA" : "");
+       pr_warn("page_type: %pGt\n", &head->page_type);
+
        print_hex_dump(KERN_WARNING, "raw: ", DUMP_PREFIX_NONE, 32,
                        sizeof(unsigned long), page,
                        sizeof(struct page), false);