From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751452AbcGWApq (ORCPT ); Fri, 22 Jul 2016 20:45:46 -0400 Received: from mga01.intel.com ([192.55.52.88]:35133 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751008AbcGWApp (ORCPT ); Fri, 22 Jul 2016 20:45:45 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,406,1464678000"; d="scan'208";a="1022310130" Date: Sat, 23 Jul 2016 08:45:15 +0800 From: Fengguang Wu To: Minchan Kim Cc: Mel Gorman , Andrew Morton , Johannes Weiner , Michal Hocko , Joonsoo Kim , Vlastimil Babka , Linux-MM , LKML , fengguang.wu@intel.com Subject: Re: [PATCH 2/5] mm: add per-zone lru list stat Message-ID: <20160723004514.GA75542@bee> References: <1469028111-1622-1-git-send-email-mgorman@techsingularity.net> <1469028111-1622-3-git-send-email-mgorman@techsingularity.net> <20160721071002.GA27554@js1304-P5Q-DELUXE> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20160721071002.GA27554@js1304-P5Q-DELUXE> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Minchan, We find duplicate /proc/vmstat lines showing up in linux-next, which look related to this patch. >> --- a/mm/vmstat.c >> +++ b/mm/vmstat.c >> @@ -921,6 +921,11 @@ int fragmentation_index(struct zone *zone, unsigned int order) >> const char * const vmstat_text[] = { >> /* enum zone_stat_item countes */ >> "nr_free_pages", >> + "nr_inactive_anon", >> + "nr_active_anon", >> + "nr_inactive_file", >> + "nr_active_file", >> + "nr_unevictable", >> "nr_mlock", >> "nr_slab_reclaimable", >> "nr_slab_unreclaimable", In the below vmstat output, "nr_inactive_anon 2217" is shown twice. So do the other entries added by the above chunk. nr_free_pages 831238 nr_inactive_anon 2217 nr_active_anon 4386 nr_inactive_file 117467 nr_active_file 4602 nr_unevictable 0 nr_zone_write_pending 0 nr_mlock 0 nr_slab_reclaimable 8323 nr_slab_unreclaimable 4641 nr_page_table_pages 870 nr_kernel_stack 3776 nr_bounce 0 nr_zspages 0 numa_hit 201105 numa_miss 0 numa_foreign 0 numa_interleave 66970 numa_local 201105 numa_other 0 nr_free_cma 0 nr_inactive_anon 2217 nr_active_anon 4368 nr_inactive_file 117449 nr_active_file 4620 nr_unevictable 0 nr_isolated_anon 0 nr_isolated_file 0 nr_pages_scanned 0 workingset_refault 0 workingset_activate 0 workingset_nodereclaim 0 nr_anon_pages 4321 nr_mapped 3469 nr_file_pages 124348 nr_dirty 0 nr_writeback 0 nr_writeback_temp 0 nr_shmem 2279 nr_shmem_hugepages 0 nr_shmem_pmdmapped 0 ... Thanks, Fengguang