On 11/16/2018 02:00 PM, Michal Hocko wrote: > From: Michal Hocko <mho...@suse.com> > > __dump_page messages use KERN_EMERG resp. KERN_ALERT loglevel (this is > the case since 2004). Most callers of this function are really detecting > a critical page state and BUG right after. On the other hand the > function is called also from contexts which just want to inform about > the page state and those would rather not disrupt logs that much (e.g. > some systems route these messages to the normal console). > > Reduce the loglevel to KERN_WARNING to make dump_page easier to reuse > for other contexts while those messages will still make it to the kernel > log in most setups. Even if the loglevel setup filters warnings away > those paths that are really critical already print the more targeted > error or panic and that should make it to the kernel log. > > Signed-off-by: Michal Hocko <mho...@suse.com> Reviewed-by: Anshuman Khandual <anshuman.khand...@arm.com>
- [PATCH 0/5] mm, memory_hotplug: improve memory offlining... Michal Hocko
- [PATCH 3/5] mm, memory_hotplug: drop pointless bloc... Michal Hocko
- Re: [PATCH 3/5] mm, memory_hotplug: drop pointl... osalvador
- Re: [PATCH 3/5] mm, memory_hotplug: drop po... Michal Hocko
- Re: [PATCH 3/5] mm, memory_hotplug: drop pointl... Anshuman Khandual
- [PATCH 1/5] mm: print more information about mappin... Michal Hocko
- Re: [PATCH 1/5] mm: print more information abou... Anshuman Khandual
- [PATCH 2/5] mm: lower the printk loglevel for __dum... Michal Hocko
- Re: [PATCH 2/5] mm: lower the printk loglevel f... Anshuman Khandual
- [PATCH 4/5] mm, memory_hotplug: print reason for th... Michal Hocko
- Re: [PATCH 4/5] mm, memory_hotplug: print reaso... osalvador
- Re: [PATCH 4/5] mm, memory_hotplug: print reaso... Anshuman Khandual
- [PATCH 5/5] mm, memory_hotplug: be more verbose for... Michal Hocko
- Re: [PATCH 5/5] mm, memory_hotplug: be more ver... osalvador
- Re: [PATCH 5/5] mm, memory_hotplug: be more... Michal Hocko
- Re: [PATCH 5/5] mm, memory_hotplug: be more ver... Anshuman Khandual
- Re: [PATCH 0/5] mm, memory_hotplug: improve memory ... Anshuman Khandual