[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241031224551.1736113-1-kinseyho@google.com>
Date: Thu, 31 Oct 2024 22:45:49 +0000
From: Kinsey Ho <kinseyho@...gle.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Johannes Weiner <hannes@...xchg.org>, Michal Hocko <mhocko@...nel.org>,
Roman Gushchin <roman.gushchin@...ux.dev>, Shakeel Butt <shakeel.butt@...ux.dev>,
Muchun Song <muchun.song@...ux.dev>, Pasha Tatashin <pasha.tatashin@...een.com>,
David Rientjes <rientjes@...gle.com>, willy@...radead.org, Vlastimil Babka <vbabka@...e.cz>,
David Hildenbrand <david@...hat.com>, Kinsey Ho <kinseyho@...gle.com>,
Joel Granados <joel.granados@...nel.org>, Kaiyang Zhao <kaiyang2@...cmu.edu>,
Sourav Panda <souravpanda@...gle.com>, linux-kernel@...r.kernel.org,
cgroups@...r.kernel.org, linux-mm@...ck.org
Subject: [PATCH mm-unstable v1 0/2] Track pages allocated for struct
We noticed high overhead for pages allocated for struct swap_cgroup in
our fleet. This patchset adds the number of pages allocated for struct
swap_cgroup to vmstat. This can be a useful metric for identifying
unneeded overhead on systems which configure swap.
Before adding the new stat, Patch 1 introduces a generic system-wide
counting interface.
Kinsey Ho (2):
mm: add generic system-wide page counters
mm, swap: add pages allocated for struct swap_cgroup to vmstat
include/linux/vmstat.h | 11 +++++++++++
mm/swap_cgroup.c | 3 +++
mm/vmstat.c | 35 ++++++++++++++++++++++++++---------
3 files changed, 40 insertions(+), 9 deletions(-)
--
2.47.0.163.g1226f6d8fa-goog
Powered by blists - more mailing lists