提交 7365f3d1 编写于 作者: H Hugh Dickins 提交者: Linus Torvalds

[PATCH] Restore KERN_EMERG to each line printed by bad_page

Signed-off-by: NHugh Dickins <hugh@veritas.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 45ed344c
...@@ -137,9 +137,9 @@ static inline int bad_range(struct zone *zone, struct page *page) ...@@ -137,9 +137,9 @@ static inline int bad_range(struct zone *zone, struct page *page)
static void bad_page(struct page *page) static void bad_page(struct page *page)
{ {
printk(KERN_EMERG "Bad page state in process '%s'\n" printk(KERN_EMERG "Bad page state in process '%s'\n"
"page:%p flags:0x%0*lx mapping:%p mapcount:%d count:%d\n" KERN_EMERG "page:%p flags:0x%0*lx mapping:%p mapcount:%d count:%d\n"
"Trying to fix it up, but a reboot is needed\n" KERN_EMERG "Trying to fix it up, but a reboot is needed\n"
"Backtrace:\n", KERN_EMERG "Backtrace:\n",
current->comm, page, (int)(2*sizeof(unsigned long)), current->comm, page, (int)(2*sizeof(unsigned long)),
(unsigned long)page->flags, page->mapping, (unsigned long)page->flags, page->mapping,
page_mapcount(page), page_count(page)); page_mapcount(page), page_count(page));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册