Received: by 10.192.165.148 with SMTP id m20csp9792imm; Thu, 26 Apr 2018 14:56:32 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+g9VWcTzmVsNKSZGIh2Kr4LX5flXiXGZxEBu7HL+LvCbDGFp4Ksa0rsekQt1ynyUi0pM1y X-Received: by 2002:a17:902:31a4:: with SMTP id x33-v6mr35758473plb.355.1524779792909; Thu, 26 Apr 2018 14:56:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524779792; cv=none; d=google.com; s=arc-20160816; b=fU3URf2+Y9+uX0ZUGTwKNbiAurrS0gckJnLsdXtnd70OKpsu6Gq3+/JQkrGRy2MCPi Ne1SWnTopd3YrOEEP3BkcWIwQJyHnkYx7E+vIrKXMMuzPko3LDdtIqp6kCRtGiFPuc8M bml6JUIcs94mYvHT5FQ+pfW7x+yYmafYSFpdjInUUvhIl+fJPNnQwPw0rXI20G2d0DFz OLCZRHRPBr05EtiOxWKBRiSHyGqVcmMdShtwvcktICLWTfPpr08spL9g+4KPl0YgMc0x eAU3Pfivb7UeWzPPWvWaUjeIa9OF9fsZFlVrX8dpR6tUVAePD9xDAHL4R73ElcbbMVL7 TAlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=KxWTGsCXoO1ZkeAkJCv9VMx66ZNlBHWH4YN4vLXJZCI=; b=ZspBYYGM0ly6d5UYOWU/yIo3XqexUf1lfjx3ZTvCPUo04BFrNcNN7UWCbfvl8BJ/7/ QF4/6NAmSSQFj6Q6xVI0PNGLinlldWCaNNfhw04lVU+dmTR19YUmet4NrzZ2BAhRonzD wzKVOTVrVlh1sFzHlHqVEmQgzV2aYUS+9vUeFlb3rw3VQaU1pBFfZIuZMxa4dvr3tF3E tl7o98Bpu4f4IoH6oCKW3abGqrsEoxIhmRDOSHTSHpNxUDtnCkFc8V8tQPoG3AUJ7NGD DVgHgYzsN3u8Z02Sg8O3q05tIo8FIbhxnhMt4wOe3so2zom4GdECQXwW6dhy2jKz33xJ 4PxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=YX4h5oLO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si19362437plp.532.2018.04.26.14.56.18; Thu, 26 Apr 2018 14:56:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=YX4h5oLO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756875AbeDZVzJ (ORCPT + 99 others); Thu, 26 Apr 2018 17:55:09 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:40444 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754769AbeDZVzH (ORCPT ); Thu, 26 Apr 2018 17:55:07 -0400 Received: by mail-pg0-f67.google.com with SMTP id l2so3617699pgc.7 for ; Thu, 26 Apr 2018 14:55:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=KxWTGsCXoO1ZkeAkJCv9VMx66ZNlBHWH4YN4vLXJZCI=; b=YX4h5oLOIL3N54398Q6X2IRWbaK2LpBU+DTAWAdYwvBLDCW69GwCz908S9NnSdFRqe A39W60sNwNaFC/0MUDGuCDB5ztkAkYFauLGxFWDhnJPqzF95fn6JrQETBqDCRom6i7jd hIILzVNv2nz6ueWf8jCis5OYBeCHdT7dGR5GqeubvTFmBvKfKO6mJ4Ctns9Z7F04oJqB wnjmSf7nZpQeUee+P3cjzSJ1i2uqyQ02Wkynem017j/pwcahGq/uS+hGO/3LeEkgrkpf a7Z+tzVvzXUUtBvAYcghJtIOVocNSMQHuti2n1AkD6kSzQax1ZmkjiGmOKlCNiWrLN9C 2E9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=KxWTGsCXoO1ZkeAkJCv9VMx66ZNlBHWH4YN4vLXJZCI=; b=Q4bSYwLK2Wtpr1dD7XALprYa3JBGl0kZPUi27zBkvHBh+0FTZmw9Q3kPe/JwA2caFo aKO4VT+iFKjxExShmC+Q3zh3hFmP/jE3XqiRlmipD8lxl1ke8Aky196GkVRNySOKQwd6 sTCjaqicojZyvkRYx3i+VUwQhq5CgHjR6shqqEC6UDs9ygPTAJs25zeBeKk5RD57GvOz y1QYh/UrBwkska6jUcZAkCa18D/uq1e7WFqcKqrRS+DM8c9z59w4ZEQBfp7N5fZc85sH Y05YAwZ0uYhrekTieyGSQQoqixj0zw+tvYfsl3F5yhA+NkiEvXUCAmqFBvYJ9gw26Nl6 dtVA== X-Gm-Message-State: ALQs6tB91cLM6LePn3p4HaBslP6B6Xa28VCfLr6312n2i41yy7sUQgaG MyBXCSENkXbLu6Lly42xQxyeIg== X-Received: by 2002:a17:902:ab93:: with SMTP id f19-v6mr5022196plr.81.1524779706641; Thu, 26 Apr 2018 14:55:06 -0700 (PDT) Received: from [2620:15c:17:3:3a5:23a7:5e32:4598] ([2620:15c:17:3:3a5:23a7:5e32:4598]) by smtp.gmail.com with ESMTPSA id q17sm29905323pgt.70.2018.04.26.14.55.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Apr 2018 14:55:06 -0700 (PDT) Date: Thu, 26 Apr 2018 14:55:05 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com 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 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> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.