Re: [PATCH 2/2] vmw_balloon: account 2 MiB pages in NR_BALLOON_PAGES
From: Jerrin Shaji George
Date: Mon Nov 23 2026 - 18:46:20 EST
On Fri, Nov 20, 2026 at 2:34 AM David Hildenbrand (Arm)
<david@xxxxxxxxxx> wrote:
>
> vmw_balloon keeps 2 MiB balloon-inflated pages on its own list, not
> using balloon core that takes otherwise care of updating NR_BALLOON_PAGES
> for base pages.
>
> So far we didn't account 2 MiB pages under the "Balloon" counters, so
> /proc/meminfo etc. would not reflect them.
>
> Fix it by updating NR_BALLOON_PAGES when enqueuing and dequeuing for
> these pages manually.
>
> This has low urgency.
>
> Fixes: 4d689474e1b2 ("balloon_compaction: update the NR_BALLOON_PAGES state")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
> ---
> drivers/misc/vmw_balloon.c | 4 ++++
> 1 file changed, 4 insertions(+)
Acked-by: Jerrin Shaji George <jerrin.shaji-george@xxxxxxxxxxxx>
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature