[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200711100746.GA814207@chrisdown.name>
Date: Sat, 11 Jul 2020 11:07:46 +0100
From: Chris Down <chris@...isdown.name>
To: Shakeel Butt <shakeelb@...gle.com>
Cc: Johannes Weiner <hannes@...xchg.org>, Roman Gushchin <guro@...com>,
Michal Hocko <mhocko@...nel.org>,
Yafang Shao <laoar.shao@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: vmscan: consistent update to pgrefill
Shakeel Butt writes:
>The vmstat pgrefill is useful together with pgscan and pgsteal stats to
>measure the reclaim efficiency. However vmstat's pgrefill is not updated
>consistently at system level. It gets updated for both global and memcg
>reclaim however pgscan and pgsteal are updated for only global reclaim.
>So, update pgrefill only for global reclaim. If someone is interested in
>the stats representing both system level as well as memcg level reclaim,
>then consult the root memcg's memory.stat instead of /proc/vmstat.
>
>Signed-off-by: Shakeel Butt <shakeelb@...gle.com>
Acked-by: Chris Down <chris@...isdown.name>
Powered by blists - more mailing lists