From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752731AbbCZMah (ORCPT ); Thu, 26 Mar 2015 08:30:37 -0400 Received: from cantor2.suse.de ([195.135.220.15]:40703 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751382AbbCZMae (ORCPT ); Thu, 26 Mar 2015 08:30:34 -0400 Date: Thu, 26 Mar 2015 12:30:29 +0000 From: Mel Gorman To: Russell King - ARM Linux Cc: Gregory Fong , Laura Abbott , Florian Fainelli , Kees Cook , Nicolas Pitre , Catalin Marinas , open list , Yalin Wang , "linux-arm-kernel@lists.infradead.org" , vishnu.ps@samsung.com, Marek Szyprowski , Johannes Weiner Subject: Re: [PATCH] ARM: print cma-reserved pages from show_mem Message-ID: <20150326123028.GM4701@suse.de> References: <1423092164-9145-1-git-send-email-gregory.0xf0@gmail.com> <54D40DAF.4080609@codeaurora.org> <54D534FB.1090101@codeaurora.org> <20150210113230.GJ8656@n2100.arm.linux.org.uk> <20150326114612.GD8656@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20150326114612.GD8656@n2100.arm.linux.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 26, 2015 at 11:46:12AM +0000, Russell King - ARM Linux wrote: > > > Looking at Mel's commit, I don't see a reason why we couldn't use that > solution - it gets rid of walking the page array, which has been fraught > in the past due to ARM having platforms which have holes in their > physical memory. > > We could try that solution - I don't see much downside to it. Most of > that information is as debug information for MM stuff anyway, and IMHO >>From an MM perspective, I can tell you that the information is close to useless for debugging anything. It's why I ditched it in that commit and AFAIK, no one has ever cared. > 8<=== > From: Russell King > Subject: [PATCH] ARM: switch to use the generic show_mem() implementation > > Switch ARM to use the generic show_mem() implementation, which displays > the statistics from the mm zone rather than walking the page arrays. > > Signed-off-by: Russell King If this builds, boots and sysrq-m works as expected then for what it's worth Acked-by: Mel Gorman -- Mel Gorman SUSE Labs