Commit 3a1bf819 authored by Linus Torvalds's avatar Linus Torvalds

Make bad_page() print out information about who triggered it.

The condition still seems to happen on ppc64.
parent e55b73a3
......@@ -71,7 +71,7 @@ static int bad_range(struct zone *zone, struct page *page)
static void bad_page(const char *function, struct page *page)
{
printk("Bad page state at %s\n", function);
printk("Bad page state at %s (in process '%s')\n", function, current->comm);
printk("flags:0x%08lx mapping:%p mapped:%d count:%d\n",
page->flags, page->mapping,
page_mapped(page), page_count(page));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment