From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754575AbcGEHZR (ORCPT ); Tue, 5 Jul 2016 03:25:17 -0400 Received: from out4133-34.mail.aliyun.com ([42.120.133.34]:27953 "EHLO out4133-34.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751251AbcGEHZP (ORCPT ); Tue, 5 Jul 2016 03:25:15 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R761e4;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e02c03294;MF=hillf.zj@alibaba-inc.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_----5-ZJI3D_1467703489; Reply-To: "Hillf Danton" From: "Hillf Danton" To: "Mel Gorman" Cc: "linux-kernel" , , "Andrew Morton" References: <00ee01d1d68e$183854a0$48a8fde0$@alibaba-inc.com> In-Reply-To: <00ee01d1d68e$183854a0$48a8fde0$@alibaba-inc.com> Subject: Re: [PATCH 30/31] mm, vmstat: print node-based stats in zoneinfo file Date: Tue, 05 Jul 2016 15:24:49 +0800 Message-ID: <00ef01d1d68e$51247960$f36d6c20$@alibaba-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQE3PwSaQunP9MEkA7dA1znWQpxjGqE+njDA Content-Language: zh-cn Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > There are a number of stats that were previously accessible via zoneinfo > that are now invisible. While it is possible to create a new file for the > node stats, this may be missed by users. Instead this patch prints the > stats under the first populated zone in /proc/zoneinfo. > > Signed-off-by: Mel Gorman > --- Acked-by: Hillf Danton > mm/vmstat.c | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) >