From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org,rafael@kernel.org,gregkh@linuxfoundation.org,david@kernel.org,dakr@kernel.org,hao.ge@linux.dev,akpm@linux-foundation.org
Subject: + proc-meminfo-expose-per-node-balloon-pages-in-node-meminfo.patch added to mm-unstable branch
Date: Tue, 12 May 2026 16:08:56 -0700 [thread overview]
Message-ID: <20260512230857.1C71EC2BCB0@smtp.kernel.org> (raw)
The patch titled
Subject: proc/meminfo: expose per-node balloon pages in node meminfo
has been added to the -mm mm-unstable branch. Its filename is
proc-meminfo-expose-per-node-balloon-pages-in-node-meminfo.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/proc-meminfo-expose-per-node-balloon-pages-in-node-meminfo.patch
This patch will later appear in the mm-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via various
branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there most days
------------------------------------------------------
From: Hao Ge <hao.ge@linux.dev>
Subject: proc/meminfo: expose per-node balloon pages in node meminfo
Date: Sat, 9 May 2026 08:56:31 +0800
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.
Link: https://lore.kernel.org/20260509005631.17183-1-hao.ge@linux.dev
Signed-off-by: Hao Ge <hao.ge@linux.dev>
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
Cc: Danilo Krummrich <dakr@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/base/node.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/base/node.c~proc-meminfo-expose-per-node-balloon-pages-in-node-meminfo
+++ a/drivers/base/node.c
@@ -523,6 +523,7 @@ static ssize_t node_read_meminfo(struct
#ifdef CONFIG_UNACCEPTED_MEMORY
"Node %d Unaccepted: %8lu kB\n"
#endif
+ "Node %d Balloon: %8lu kB\n"
"Node %d GPUActive: %8lu kB\n"
"Node %d GPUReclaim: %8lu kB\n"
,
@@ -559,6 +560,7 @@ static ssize_t node_read_meminfo(struct
nid, K(sum_zone_node_page_state(nid, NR_UNACCEPTED))
#endif
,
+ nid, K(node_page_state(pgdat, NR_BALLOON_PAGES)),
nid, K(node_page_state(pgdat, NR_GPU_ACTIVE)),
nid, K(node_page_state(pgdat, NR_GPU_RECLAIM))
);
_
Patches currently in -mm which might be from hao.ge@linux.dev are
mm-alloc_tag-replace-fixed-size-early-pfn-array-with-dynamic-linked-list.patch
proc-meminfo-expose-per-node-balloon-pages-in-node-meminfo.patch
reply other threads:[~2026-05-12 23:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260512230857.1C71EC2BCB0@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=dakr@kernel.org \
--cc=david@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=hao.ge@linux.dev \
--cc=mm-commits@vger.kernel.org \
--cc=rafael@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.