[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181009150401.c72cde05338c1ec80a4b8701@linux-foundation.org>
Date: Tue, 9 Oct 2018 15:04:01 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Johannes Weiner <hannes@...xchg.org>
Cc: Rik van Riel <riel@...hat.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, kernel-team@...com
Subject: Re: [PATCH 3/4] mm: workingset: add vmstat counter for shadow nodes
On Tue, 9 Oct 2018 14:47:32 -0400 Johannes Weiner <hannes@...xchg.org> 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 <hannes@...xchg.org>
> ---
> 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?
Powered by blists - more mailing lists