On Tue, Nov 18, 2014 at 11:41:08PM +0000, Naoya Horiguchi wrote: > > > > @@ -6632,10 +6637,12 @@ static void dump_page_flags(unsigned long flags) > > > > void dump_page_badflags(struct page *page, const char *reason, > > > > unsigned long badflags) > > > > { > > > > - printk(KERN_ALERT > > > > - "page:%p count:%d mapcount:%d mapping:%p index:%#lx\n", > > > > + pr_alert("page:%p count:%d mapcount:%d mapping:%p index:%#lx", > > > > page, atomic_read(&page->_count), page_mapcount(page), > > > > page->mapping, page->index); > > > > + if (PageCompound(page)) > > > > > > > + printk(" compound_mapcount: %d", compound_mapcount(page)); > > > > + printk("\n"); > > > > > > These two printk() should be pr_alert(), too? > > > > No. It will split the line into several messages in dmesg. > > This splitting is fine. I meant that these printk()s are for one series > of message, so setting the same log level looks reasonable to me. Hm. It seems what I really need to use there is pr_cont(). I didn't know it exists. Thanks for hint ;) -- Kirill A. Shutemov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>