Re: [RFC 1/5] meminfo: add a per node counter for balloon drivers

2025-03-12 Thread Nico Pache
On Tue, Mar 11, 2025 at 10:21 PM Shakeel Butt wrote: > > On Tue, Mar 11, 2025 at 06:06:56PM -0600, Nico Pache wrote: > > Add NR_BALLOON_PAGES counter to track memory used by balloon drivers and > > expose it through /proc/meminfo and other memory reporting interfaces. > > > > Signed-off-by: Nico P

Re: [RFC 1/5] meminfo: add a per node counter for balloon drivers

2025-03-11 Thread Shakeel Butt
On Tue, Mar 11, 2025 at 06:06:56PM -0600, Nico Pache wrote: > Add NR_BALLOON_PAGES counter to track memory used by balloon drivers and > expose it through /proc/meminfo and other memory reporting interfaces. > > Signed-off-by: Nico Pache > --- > fs/proc/meminfo.c | 2 ++ > include/linux/mmz

[RFC 1/5] meminfo: add a per node counter for balloon drivers

2025-03-11 Thread Nico Pache
Add NR_BALLOON_PAGES counter to track memory used by balloon drivers and expose it through /proc/meminfo and other memory reporting interfaces. Signed-off-by: Nico Pache --- fs/proc/meminfo.c | 2 ++ include/linux/mmzone.h | 1 + mm/memcontrol.c| 1 + mm/show_mem.c | 4 +++-