[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250314180625.8c3a2a5a990a132a7b0b9072@linux-foundation.org>
Date: Fri, 14 Mar 2025 18:06:25 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Nico Pache <npache@...hat.com>
Cc: linux-hyperv@...r.kernel.org, linux-kernel@...r.kernel.org,
xen-devel@...ts.xenproject.org, linux-fsdevel@...r.kernel.org,
linux-mm@...ck.org, virtualization@...ts.linux.dev,
alexander.atanasov@...tuozzo.com, muchun.song@...ux.dev,
roman.gushchin@...ux.dev, mhocko@...nel.org, kys@...rosoft.com,
haiyangz@...rosoft.com, wei.liu@...nel.org, decui@...rosoft.com,
jgross@...e.com, sstabellini@...nel.org, oleksandr_tyshchenko@...m.com,
mst@...hat.com, david@...hat.com, yosry.ahmed@...ux.dev,
hannes@...xchg.org, nphamcs@...il.com, chengming.zhou@...ux.dev,
kanchana.p.sridhar@...el.com, llong@...hat.com, shakeel.butt@...ux.dev
Subject: Re: [PATCH v2 1/4] meminfo: add a per node counter for balloon
drivers
On Fri, 14 Mar 2025 15:37:54 -0600 Nico Pache <npache@...hat.com> wrote:
> Add NR_BALLOON_PAGES counter to track memory used by balloon drivers and
> expose it through /proc/meminfo and other memory reporting interfaces.
>
> ...
>
> --- a/fs/proc/meminfo.c
> +++ b/fs/proc/meminfo.c
> @@ -162,6 +162,8 @@ static int meminfo_proc_show(struct seq_file *m, void *v)
> show_val_kb(m, "Unaccepted: ",
> global_zone_page_state(NR_UNACCEPTED));
> #endif
> + show_val_kb(m, "Balloon: ",
> + global_node_page_state(NR_BALLOON_PAGES));
Please update Documentation/filesystems/proc.rst for this.
Powered by blists - more mailing lists