From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx187.postini.com [74.125.245.187]) by kanga.kvack.org (Postfix) with SMTP id 63ED86B0034 for ; Sun, 12 May 2013 11:17:23 -0400 (EDT) Received: by mail-pd0-f173.google.com with SMTP id v10so3828158pde.32 for ; Sun, 12 May 2013 08:17:22 -0700 (PDT) Message-ID: <518FB27A.4070903@gmail.com> Date: Sun, 12 May 2013 23:17:14 +0800 From: Liu Jiang MIME-Version: 1.0 Subject: Re: [PATCH v5, part4 20/41] mm/h8300: prepare for removing num_physpages and simplify mem_init() References: <1368028298-7401-1-git-send-email-jiang.liu@huawei.com> <1368028298-7401-21-git-send-email-jiang.liu@huawei.com> <518A7CC0.1010606@cogentembedded.com> <518AA7A0.1020702@cogentembedded.com> <518AE13A.2060204@linux.vnet.ibm.com> In-Reply-To: <518AE13A.2060204@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Cody P Schafer Cc: Sergei Shtylyov , Andrew Morton , Jiang Liu , David Rientjes , Wen Congyang , Mel Gorman , Minchan Kim , KAMEZAWA Hiroyuki , Michal Hocko , James Bottomley , David Howells , Mark Salter , Jianguo Wu , linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Yoshinori Sato , Geert Uytterhoeven On 05/09/2013 07:35 AM, Cody P Schafer wrote: > On 05/08/2013 12:29 PM, Sergei Shtylyov wrote: >> >> Although, not necessarily: it also supports CONFIG_DYNAMIC_DEBUG -- >> look at how pr_debug() is defined. >> So this doesn't seem to be an equivalent change, and I suggest not doing >> it at all. >> >> WBR, Sergei > > pr_devel() should get the same behavior: no code emitted unless debug > is defined, if it is, output at KERN_DEBUG level. > Thanks Cody and Sergei, will use pr_devel() instead in next version. Gerry -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org