Re: [PATCH] mm, memory hotplug: print debug message in the proper way for online_pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 25 Feb 2016, Chen Yucong wrote:

> online_pages() simply returns an error value if
> memory_notify(MEM_GOING_ONLINE, &arg) return a value that is not
> what we want for successfully onlining target pages. This patch
> arms to print more failure information like offline_pages() in
> online_pages.
> 
> This patch also converts printk(KERN_<LEVEL>) to pr_<level>(),
> and moves __offline_pages() to not print failure information with
> KERN_INFO according to David Rientjes's suggestion[1].
> 
> [1] https://lkml.org/lkml/2016/2/24/1094
> 
> Signed-off-by: Chen Yucong <slaoub@xxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>

Cool!

--
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>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]