Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1342960

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

From David Rientjes <rientjes@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mm, memory hotplug: print debug message in the proper way for online_pages
Date 2016-02-25 09:30 +0100
Message-ID <r5Zt8-120-15@gated-at.bofh.it> (permalink)
References <r5YQs-um-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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!

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] mm, memory hotplug: print debug message in the proper way for online_pages Chen Yucong <slaoub@gmail.com> - 2016-02-25 08:50 +0100
  Re: [PATCH] mm, memory hotplug: print debug message in the proper  way for online_pages David Rientjes <rientjes@google.com> - 2016-02-25 09:30 +0100

csiph-web