From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760033AbcBYI3Q (ORCPT ); Thu, 25 Feb 2016 03:29:16 -0500 Received: from mail-pf0-f182.google.com ([209.85.192.182]:33593 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759732AbcBYI3P (ORCPT ); Thu, 25 Feb 2016 03:29:15 -0500 Date: Thu, 25 Feb 2016 00:29:12 -0800 (PST) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Chen Yucong cc: akpm@linux-foundation.org, vbabka@suse.cz, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm, memory hotplug: print debug message in the proper way for online_pages In-Reply-To: <1456386319-9050-1-git-send-email-slaoub@gmail.com> Message-ID: References: <1456386319-9050-1-git-send-email-slaoub@gmail.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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_) to pr_(), > 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 Acked-by: David Rientjes Cool!