Re: [PATCH mm-unstable v1 2/2] mm, swap: add pages allocated for struct swap_cgroup to vmstat
From: Michal Koutný
Date: Mon Nov 04 2024 - 11:23:24 EST
Hello Kinsey.
On Thu, Oct 31, 2024 at 10:45:51PM GMT, Kinsey Ho <kinseyho@xxxxxxxxxx> wrote:
> Export the number of pages allocated for storing struct swap_cgroup in
> vmstat using global system-wide counters.
This consumption is quite static (it only changes between swapon/swapoff
switches). The resulting value can be calculated as a linear combination
of entries in /proc/swaps already (if you know the right coefficients).
I'm not sure this warrants the new entry (or is my assumption about
static-ness wrong?)
Michal
Attachment:
signature.asc
Description: PGP signature