[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/4] meminfo: add a per node counter for balloon drivers
- To: Nico Pache <npache@xxxxxxxxxx>
- From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 14 Mar 2025 18:06:25 -0700
- Cc: linux-hyperv@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, linux-mm@xxxxxxxxx, virtualization@xxxxxxxxxxxxxxx, alexander.atanasov@xxxxxxxxxxxxx, muchun.song@xxxxxxxxx, roman.gushchin@xxxxxxxxx, mhocko@xxxxxxxxxx, kys@xxxxxxxxxxxxx, haiyangz@xxxxxxxxxxxxx, wei.liu@xxxxxxxxxx, decui@xxxxxxxxxxxxx, jgross@xxxxxxxx, sstabellini@xxxxxxxxxx, oleksandr_tyshchenko@xxxxxxxx, mst@xxxxxxxxxx, david@xxxxxxxxxx, yosry.ahmed@xxxxxxxxx, hannes@xxxxxxxxxxx, nphamcs@xxxxxxxxx, chengming.zhou@xxxxxxxxx, kanchana.p.sridhar@xxxxxxxxx, llong@xxxxxxxxxx, shakeel.butt@xxxxxxxxx
- Delivery-date: Sat, 15 Mar 2025 01:06:36 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Fri, 14 Mar 2025 15:37:54 -0600 Nico Pache <npache@xxxxxxxxxx> 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.
|