Re: [PATCH v2] mm/balloon: expose per-node balloon pages in node meminfo
From: David Hildenbrand (Arm)
Date: Fri May 08 2026 - 07:02:17 EST
On 5/8/26 11:47, Hao Ge wrote:
> Commit 835de37603ef ("meminfo: add a per node counter for balloon
> drivers") added NR_BALLOON_PAGES and exposed it in /proc/meminfo.
> However, the per-node view at /sys/devices/system/node/nodeX/meminfo
> was not updated, even though the counter is already tracked per-node.
>
> Add it to node_read_meminfo() so users can see balloon usage per
> NUMA node without having to parse the raw vmstat file.
>
> Signed-off-by: Hao Ge <hao.ge@xxxxxxxxx>
> ---
Patch subject should not start with "mm/balloon:".
"proc/meminfo: " might be the better choice. Likely can be changed when picking up
Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
--
Cheers,
David