Re: [PATCH] trace/events/page_ref: add page info to page_ref trace event

From: Matthew Wilcox
Date: Mon Nov 04 2024 - 08:41:01 EST


On Mon, Nov 04, 2024 at 03:35:37PM +0800, Kassey Li quic wrote:
> > > In many kernel code we are talking with page other than pfn,
> > > here we added page algin with pfn.
> > How exactly would this help you, what are you doing with the trace?
>
> we met some problem where filesystem held the page.
>
> we can show the page pointer other than pfn in filesystem code.

Don't do that. Change the filesystem code to show the pfn, and send
*that* patch instead.