From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f200.google.com (mail-pf0-f200.google.com [209.85.192.200]) by kanga.kvack.org (Postfix) with ESMTP id 122246B0009 for ; Wed, 25 Apr 2018 17:02:44 -0400 (EDT) Received: by mail-pf0-f200.google.com with SMTP id e20so11537665pff.14 for ; Wed, 25 Apr 2018 14:02:44 -0700 (PDT) Received: from mx0a-00082601.pphosted.com (mx0b-00082601.pphosted.com. [67.231.153.30]) by mx.google.com with ESMTPS id s189si12678573pgc.571.2018.04.25.14.02.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Apr 2018 14:02:42 -0700 (PDT) Date: Wed, 25 Apr 2018 22:01:49 +0100 From: Roman Gushchin Subject: Re: [PATCH] mm: don't show nr_indirectly_reclaimable in /proc/vmstat Message-ID: <20180425210143.GA10277@castle> References: <20180425191422.9159-1-guro@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: David Rientjes Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, kernel-team@fb.com, Vlastimil Babka , Matthew Wilcox , Andrew Morton , Alexander Viro , Michal Hocko , Johannes Weiner On Wed, Apr 25, 2018 at 12:37:26PM -0700, David Rientjes wrote: > On Wed, 25 Apr 2018, Roman Gushchin wrote: > > > Don't show nr_indirectly_reclaimable in /proc/vmstat, > > because there is no need in exporting this vm counter > > to the userspace, and some changes are expected > > in reclaimable object accounting, which can alter > > this counter. > > > > I don't think it should be a per-node vmstat, in this case. It appears > only to be used for the global context. Shouldn't this be handled like > totalram_pages, total_swap_pages, totalreserve_pages, etc? Hi, David! I don't see any reasons why re-using existing infrastructure for fast vm counters is bad, and why should we re-invent it for this case. Thanks!