Re: [PATCH v3] tools/mm: Add script to display page state for a given PID and VADDR

SeongJae Park <[email protected]> Wed, 23 Apr 2025 20:49:18 -0700
Newsgroups org.kernel.vger.linux-debuggers,org.kernel.vger.linux-kernel,org.kernel.vger.linux-toolchains,org.kvack.linux-mm
Message-ID <[email protected]>
On Thu, 24 Apr 2025 11:24:33 +0800 Ye Liu <[email protected]> wrote:

[...]
> Regarding compatibility across versions, this is definitely something worth
> paying attention to. Currently, the script is being adapted based on the
> latest drgn and kernel versions. If future changes to kernel structures
> occur, I plan to patch the script accordingly to maintain compatibility.
> 
> That said, I’m very open to suggestions — do you have any ideas on how
> we could better detect or guard against these kinds of breakages
> proactively?                                                               

No, unfortunately :'(  I'm a drgn newbie user and trying to learn ways to use
it better.  I therefore thought this problem could also happen to me, and asked
the question to know if you or others have a good solution.

> 
> Thanks again for raising this!

I'm so glad to hear this. :)


Thanks,
SJ

[...]