Re: [RFC PATCH 2/5] mm: lower the printk loglevel for __dump_page messages

From: Michal Hocko
Date: Wed Dec 12 2018 - 09:34:06 EST


On Wed 12-12-18 15:25:40, Michal Hocko wrote:
> It seems one follow up fix got lost on my side. Andrew, could you fold
> this in please?
>
> diff --git a/mm/debug.c b/mm/debug.c
> index 68e9a9f2df16..4c916e1abedc 100644
> --- a/mm/debug.c
> +++ b/mm/debug.c
> @@ -88,7 +88,7 @@ void __dump_page(struct page *page, const char *reason)
> pr_warn("flags: %#lx(%pGp)\n", page->flags, &page->flags);
>
> hex_only:
> - print_hex_dump(KERN_ALERT, "raw: ", DUMP_PREFIX_NONE, 32,
> + print_hex_dump(KERN_WARN, "raw: ", DUMP_PREFIX_NONE, 32,
> sizeof(unsigned long), page,
> sizeof(struct page), false);

s@KERN_WARN@KERN_WARNING@ of course. Sigh. Sorry
--
Michal Hocko
SUSE Labs