]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - mm/debug.c
mm, debug: print raw struct page data in __dump_page()
[mirror_ubuntu-artful-kernel.git] / mm / debug.c
index 9feb699c5d257795ebf26533732a2578b826a6a6..db1cd26d8752022b7f8b576cdff78f5412209d39 100644 (file)
@@ -59,6 +59,10 @@ void __dump_page(struct page *page, const char *reason)
 
        pr_emerg("flags: %#lx(%pGp)\n", page->flags, &page->flags);
 
+       print_hex_dump(KERN_ALERT, "raw: ", DUMP_PREFIX_NONE, 32,
+                       sizeof(unsigned long), page,
+                       sizeof(struct page), false);
+
        if (reason)
                pr_alert("page dumped because: %s\n", reason);