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

2016-02-25 Thread David Rientjes
On Thu, 25 Feb 2016, Chen Yucong wrote: > online_pages() simply returns an error value if > memory_notify(MEM_GOING_ONLINE, ) 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 >

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

2016-02-25 Thread David Rientjes
On Thu, 25 Feb 2016, Chen Yucong wrote: > online_pages() simply returns an error value if > memory_notify(MEM_GOING_ONLINE, ) 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 >

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

2016-02-24 Thread Chen Yucong
online_pages() simply returns an error value if memory_notify(MEM_GOING_ONLINE, ) 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_) to

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

2016-02-24 Thread Chen Yucong
online_pages() simply returns an error value if memory_notify(MEM_GOING_ONLINE, ) 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_) to