From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755925Ab3LCXlr (ORCPT ); Tue, 3 Dec 2013 18:41:47 -0500 Received: from mail-yh0-f51.google.com ([209.85.213.51]:48126 "EHLO mail-yh0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753015Ab3LCXll (ORCPT ); Tue, 3 Dec 2013 18:41:41 -0500 Date: Tue, 3 Dec 2013 15:41:38 -0800 (PST) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Mel Gorman cc: Andrew Morton , Tony Luck , Russell King , James Bottomley , linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linux-parisc@vger.kernel.org, Linux-MM , LKML Subject: Re: [PATCH] mm, show_mem: Remove SHOW_MEM_FILTER_PAGE_COUNT In-Reply-To: <20131203145721.GQ11295@suse.de> Message-ID: References: <20131016104228.GM11028@suse.de> <20131203145721.GQ11295@suse.de> User-Agent: Alpine 2.02 (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 Tue, 3 Dec 2013, Mel Gorman wrote: > Commit 4b59e6c4 (mm, show_mem: suppress page counts in non-blockable > contexts) introduced SHOW_MEM_FILTER_PAGE_COUNT to suppress PFN walks > on large memory machines. Commit c78e9363 (mm: do not walk all of system > memory during show_mem) avoided a PFN walk in the generic show_mem helper > which removes the requirement for SHOW_MEM_FILTER_PAGE_COUNT in that case. > > This patch removes PFN walkers from the arch-specific implementations that > report on a per-node or per-zone granularity. ARM and unicore32 still do > a PFN walk as they report memory usage on each bank which is a much finer > granularity where the debugging information may still be of use. As the > remaining arches doing PFN walks have relatively small amounts of memory, > this patch simply removes SHOW_MEM_FILTER_PAGE_COUNT. > > Signed-off-by: Mel Gorman Acked-by: David Rientjes Thanks!