lkml.org 
[lkml]   [2016]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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!

\
 
 \ /
  Last update: 2016-02-25 09:41    [W:0.032 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site