Re: [PATCH 0/3] tools/mm: show_page_info.py enhancements and fixes
From: Andrew Morton
Date: Wed Oct 14 2026 - 20:05:48 EST
On Wed, 14 Oct 2026 15:04:27 +0800 Ye Liu <ye.liu@xxxxxxxxx> wrote:
>
> This series improves the show_page_info.py drgn script with bug fixes
> and new features:
>
> Patch 1 fixes memory cgroup information retrieval by updating the
> obj_cgroup type casting and handling slabobj_ext field name changes
> for compatibility with newer kernel versions.
>
> Patch 2 removes the incorrect Page Index field display, as pages
> don't have indexes - only folios do.
>
> Patch 3 adds VMA flags decoding and VMA name display to provide
> more detailed information about the virtual memory area containing
> the page.
>
> These changes ensure the script works correctly with current kernel
> memory management structures and provides more comprehensive page
> state information.
Thanks for continuing to maintain this.
I'm curious. Does this work mean that you're using this tool in
real-world situations?
Sashiko had quite a lot to say.
https://sashiko.dev/#/patchset/20261014-show_page_info-v1-0-7a68aee0114a@xxxxxxxxx