From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f72.google.com (mail-pg0-f72.google.com [74.125.83.72]) by kanga.kvack.org (Postfix) with ESMTP id 6C7EA6B0011 for ; Thu, 26 Apr 2018 17:55:08 -0400 (EDT) Received: by mail-pg0-f72.google.com with SMTP id 127so14126900pge.10 for ; Thu, 26 Apr 2018 14:55:08 -0700 (PDT) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id az2-v6sor3104197plb.78.2018.04.26.14.55.07 for (Google Transport Security); Thu, 26 Apr 2018 14:55:07 -0700 (PDT) Date: Thu, 26 Apr 2018 14:55:05 -0700 (PDT) From: David Rientjes Subject: Re: [PATCH] mm: don't show nr_indirectly_reclaimable in /proc/vmstat In-Reply-To: <20180426200331.GZ17484@dhcp22.suse.cz> Message-ID: References: <20180425191422.9159-1-guro@fb.com> <20180426200331.GZ17484@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Roman Gushchin , 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 , Johannes Weiner On Thu, 26 Apr 2018, Michal Hocko 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. > > > > Signed-off-by: Roman Gushchin > > Cc: Vlastimil Babka > > Cc: Matthew Wilcox > > Cc: Andrew Morton > > Cc: Alexander Viro > > Cc: Michal Hocko > > Cc: Johannes Weiner > > This is quite a hack. I would much rather revert the counter and fixed > it the way Vlastimil has proposed. But if there is a strong opposition > to the revert then this is probably the simples thing to do. Therefore > Implementing this counter as a vmstat doesn't make much sense based on how it's used. Do you have a link to what Vlastimil proposed? I haven't seen mention of alternative ideas.