]> Pileus Git - ~andy/linux/blobdiff - mm/page_alloc.c
mm: direct IO starvation improvement
[~andy/linux] / mm / page_alloc.c
index d1a80f652c6fbde5fcebf106f7a75b903360074f..d531e8ef9984d3fa6064cc148acc1f2b186f38a6 100644 (file)
@@ -237,8 +237,8 @@ static void bad_page(struct page *page)
                        goto out;
                }
                if (nr_unshown) {
-                       printk(KERN_EMERG
-                               "Bad page state: %lu messages suppressed\n",
+                       printk(KERN_ALERT
+                             "BUG: Bad page state: %lu messages suppressed\n",
                                nr_unshown);
                        nr_unshown = 0;
                }
@@ -247,13 +247,12 @@ static void bad_page(struct page *page)
        if (nr_shown++ == 0)
                resume = jiffies + 60 * HZ;
 
-       printk(KERN_EMERG "Bad page state in process %s  pfn:%05lx\n",
+       printk(KERN_ALERT "BUG: Bad page state in process %s  pfn:%05lx\n",
                current->comm, page_to_pfn(page));
-       printk(KERN_EMERG
+       printk(KERN_ALERT
                "page:%p flags:%p count:%d mapcount:%d mapping:%p index:%lx\n",
                page, (void *)page->flags, page_count(page),
                page_mapcount(page), page->mapping, page->index);
-       printk(KERN_EMERG "Trying to fix it up, but a reboot is needed\n");
 
        dump_stack();
 out: