aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index bd330252fc77..3acb216e9a78 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -222,14 +222,14 @@ static inline int bad_range(struct zone *zone, struct page *page)
222 222
223static void bad_page(struct page *page) 223static void bad_page(struct page *page)
224{ 224{
225 printk(KERN_EMERG "Bad page state in process '%s'\n" KERN_EMERG 225 printk(KERN_EMERG "Bad page state in process %s pfn:%05lx\n",
226 "page:%p flags:0x%0*lx mapping:%p mapcount:%d count:%d\n", 226 current->comm, page_to_pfn(page));
227 current->comm, page, (int)(2*sizeof(unsigned long)), 227 printk(KERN_EMERG
228 (unsigned long)page->flags, page->mapping, 228 "page:%p flags:%p count:%d mapcount:%d mapping:%p index:%lx\n",
229 page_mapcount(page), page_count(page)); 229 page, (void *)page->flags, page_count(page),
230 230 page_mapcount(page), page->mapping, page->index);
231 printk(KERN_EMERG "Trying to fix it up, but a reboot is needed\n" 231 printk(KERN_EMERG "Trying to fix it up, but a reboot is needed\n");
232 KERN_EMERG "Backtrace:\n"); 232
233 dump_stack(); 233 dump_stack();
234 234
235 /* Leave bad fields for debug, except PageBuddy could make trouble */ 235 /* Leave bad fields for debug, except PageBuddy could make trouble */