Re: [PATCH v2] mm/hugetlb: add htlb_dissolve vmstat event

From: Mark Bundschuh

Date: Tue Nov 10 2026 - 18:01:19 EST


Hi Andrew and Muchun,

Thanks, fair questions. Some context: a management agent offlined memory
blocks on a host using huge pages. Each offline dissolved the free huge
pages in the block and lowered nr_hugepages, and later the workload
failed to get its pages. It took me a while to work out that the
offlines, not another process writing to nr_hugepages, were what had
shrunk the pool. The counter was meant to make that visible.

Thinking about it more, the offline itself is already visible (a
successful offline sends a uevent, and auditctl can log who started it).
So I don't think this needs a counter. Please drop it.

Thanks,
Mark