From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb0-f198.google.com (mail-yb0-f198.google.com [209.85.213.198]) by kanga.kvack.org (Postfix) with ESMTP id A347A6B0253 for ; Thu, 12 Jan 2017 08:48:53 -0500 (EST) Received: by mail-yb0-f198.google.com with SMTP id l23so24508608ybj.6 for ; Thu, 12 Jan 2017 05:48:53 -0800 (PST) Received: from mx2.suse.de (mx2.suse.de. [195.135.220.15]) by mx.google.com with ESMTPS id h125si1948428wme.3.2017.01.12.05.48.52 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 12 Jan 2017 05:48:52 -0800 (PST) Date: Thu, 12 Jan 2017 13:48:46 +0000 From: Mel Gorman Subject: Re: [RFC PATCH 3/4] arch, mm: remove arch specific show_mem Message-ID: <20170112134846.rdrqoulc6in5bllj@suse.de> References: <20170112131659.23058-1-mhocko@kernel.org> <20170112131659.23058-4-mhocko@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20170112131659.23058-4-mhocko@kernel.org> Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: linux-mm@kvack.org, Andrew Morton , Johannes Weiner , David Rientjes , Michal Hocko , Tony Luck , Fenghua Yu , "James E.J. Bottomley" , Helge Deller , "David S. Miller" , Chris Metcalf , Guan Xuetao , linux-ia64@vger.kernel.org, linux-parisc@vger.kernel.org On Thu, Jan 12, 2017 at 02:16:58PM +0100, Michal Hocko wrote: > From: Michal Hocko > > We have a generic implementation for quite some time already. If there > is any arch specific information to be printed then we should add a > callback called from the generic code rather than duplicate the whole > show_mem. The current code has resulted in the code duplication and > the output divergence which is both confusing and adds maintainance > costs. Let's just get rid of this mess. > > Cc: Tony Luck > Cc: Fenghua Yu > Cc: "James E.J. Bottomley" > Cc: Helge Deller > Cc: "David S. Miller" > Cc: Chris Metcalf > Cc: Guan Xuetao > Cc: linux-ia64@vger.kernel.org > Cc: linux-parisc@vger.kernel.org > Signed-off-by: Michal Hocko This is overdue. The last time it was brought up, no one objected to arch-specific information from show_mem but maybe they weren't looking that carefully. For me; Acked-by: Mel Gorman -- Mel Gorman SUSE Labs -- 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