Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp128075imm; Tue, 9 Oct 2018 15:04:56 -0700 (PDT) X-Google-Smtp-Source: ACcGV63kCy0zsszBBfDc6mTl996STWM/TVltTmpjtVIfLjYPvf6IHzoHxdoDmsWXHbFgDQaKM5ca X-Received: by 2002:a63:680a:: with SMTP id d10-v6mr14530529pgc.7.1539122696044; Tue, 09 Oct 2018 15:04:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539122696; cv=none; d=google.com; s=arc-20160816; b=lpaKnwk4tUOqom/7M1xig/RSusSFQEEEXTnHgGKi0UnfIyYttBLu+A/sLoLDktMSg+ kZpkaBKjItCpM7amj3zgS1EBKmgMecG+78VafSrKfalGCk1u1nTM644y/HuhFHN2s2SI Vb8/lr0S0ujh8DW0aASQIYmAJyftQfBfgwImgPvQ1HpR3udcRe+/mzmxcZXE0IGbqQJq CKIU4u+2w2uLZIZfxNRBbi4SAmMAQd67AP17ieOzC0qv8CbxfJP6xLy8Oh8sb7cbPtzZ 1AFQURFcMgIPtuueiOYICNOajAvXqS8keARwuxmR0eZ3SHtzImZtrHQGsj1e0OYtVqgm LZ5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=1kXC07dimjR5K3jYkaLJPeyJ73zXzK6b4pVZJCUwBXA=; b=H7yC/3S2TCLPfP+UQ3DovJ6GyB5sGAFPpPax+/EWylusbdG3sOH2tOYYw2zIi6Y8x8 PyCVE2b4JeKJIw4n+hK8th3h3T72AahpiDYT6dYNsLiU5WML3yPpRW7EZcE6bzWxPGTr eWDfsrrZEXb6vArFlrXK4WN5bqGalf9aI2ZdSx7GJ7M6HJP5OAJ+MBAG3tFREZzswvIg dw/U1+gCzDVvL5TcsTUqXZvs1/ZK3yIYEwPGYgEhaRM1G5UffIOdUwonqbfdlbKs/Q/c r4cWPXuU5H65TcnhrHq9vdlvLOwZDHVsLJUxE59VERgQNNUROX35X85MfnWWKWXbHpgN jSzw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m15-v6si21835182pga.114.2018.10.09.15.04.41; Tue, 09 Oct 2018 15:04:56 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727873AbeJJFXE (ORCPT + 99 others); Wed, 10 Oct 2018 01:23:04 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:56538 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725860AbeJJFXE (ORCPT ); Wed, 10 Oct 2018 01:23:04 -0400 Received: from akpm3.svl.corp.google.com (unknown [104.133.8.65]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id CC268C4D; Tue, 9 Oct 2018 22:04:02 +0000 (UTC) Date: Tue, 9 Oct 2018 15:04:01 -0700 From: Andrew Morton To: Johannes Weiner Cc: Rik van Riel , linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH 3/4] mm: workingset: add vmstat counter for shadow nodes Message-Id: <20181009150401.c72cde05338c1ec80a4b8701@linux-foundation.org> In-Reply-To: <20181009184732.762-4-hannes@cmpxchg.org> References: <20181009184732.762-1-hannes@cmpxchg.org> <20181009184732.762-4-hannes@cmpxchg.org> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 9 Oct 2018 14:47:32 -0400 Johannes Weiner wrote: > Make it easier to catch bugs in the shadow node shrinker by adding a > counter for the shadow nodes in circulation. > > Signed-off-by: Johannes Weiner > --- > include/linux/mmzone.h | 1 + > mm/vmstat.c | 1 + > mm/workingset.c | 12 ++++++++++-- > 3 files changed, 12 insertions(+), 2 deletions(-) > > diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h > index 4179e67add3d..d82e80d82aa6 100644 > --- a/include/linux/mmzone.h > +++ b/include/linux/mmzone.h > @@ -161,6 +161,7 @@ enum node_stat_item { > NR_SLAB_UNRECLAIMABLE, > NR_ISOLATED_ANON, /* Temporary isolated pages from anon lru */ > NR_ISOLATED_FILE, /* Temporary isolated pages from file lru */ > + WORKINGSET_NODES, Documentation/admin-guide/cgroup-v2.rst, please. And please check for any other missing items while in there?