Re: [PATCH] tools/mm: add a drgn script to show HugeTLB reservations

From: Aveline Noir

Date: Fri Nov 27 2026 - 10:25:06 EST


Hi Muchun,

On Fri, 27 Nov 2026 19:30:04 +0800 Muchun Song wrote:

> The Dragon project itself probably belongs to this type of script? See
> here:
>
> https://github.com/osandov/drgn/tree/main/scripts

Thanks for the suggestion! There was a similar discussion when
show_page_info.py was proposed for tools/mm/:

https://lore.kernel.org/r/aACaf4_molKromnT@telecaster

That's mainly why I sent it to the kernel tree instead. Having it close
to the code it inspects should make it easier to keep the checks in sync
as HugeTLB reservation accounting changes, so it felt like a better fit
here. What do you think?

Thanks,
Aveline Noir