Messages in this thread | | | Date | Thu, 25 Feb 2016 00:29:12 -0800 (PST) | From | David Rientjes <> | Subject | Re: [PATCH] mm, memory hotplug: print debug message in the proper way for online_pages |
| |
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@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
Cool!
| |