From: Matthew Wilcox <willy@infradead.org>
To: "qiwu.chen(陈启武)" <qiwu.chen@transsion.com>
Cc: "rostedt@goodmis.org" <rostedt@goodmis.org>,
"mhiramat@kernel.org" <mhiramat@kernel.org>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
"hannes@cmpxchg.org" <hannes@cmpxchg.org>,
"david@kernel.org" <david@kernel.org>,
"mhocko@kernel.org" <mhocko@kernel.org>,
"linux-trace-kernel@vger.kernel.org"
<linux-trace-kernel@vger.kernel.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: [PATCH v3] mm: vmscan: rework lru_shrink and write_folio tracepoints
Date: Mon, 14 Sep 2026 14:12:05 +0100 [thread overview]
Message-ID: <aqfypahso0rVnJS9@casper.infradead.org> (raw)
In-Reply-To: <20260914072433.39636-1-qiwu.chen@transsion.com>
On Mon, Sep 14, 2026 at 07:24:37AM +0000, qiwu.chen(陈启武) wrote:
>
> - TP_printk("page=%p pfn=0x%lx flags=%s",
> - pfn_to_page(__entry->pfn),
> - __entry->pfn,
> - show_reclaim_flags(__entry->reclaim_flags))
> + TP_printk("folio=%p lru=%s",
> + __entry->folio,
> + __print_symbolic(__entry->lru, LRU_NAMES))
> );
Why is it useful to print out the folio pointer? Printing out the PFN
made more sense to me.
next prev parent reply other threads:[~2026-09-14 13:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-14 7:24 [PATCH v3] mm: vmscan: rework lru_shrink and write_folio tracepoints qiwu.chen(陈启武)
2026-09-14 7:37 ` sashiko-bot
2026-09-14 13:12 ` Matthew Wilcox [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-10-14 8:16 qiwu.chen(陈启武)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aqfypahso0rVnJS9@casper.infradead.org \
--to=willy@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=david@kernel.org \
--cc=hannes@cmpxchg.org \
--cc=linux-mm@kvack.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=mhiramat@kernel.org \
--cc=mhocko@kernel.org \
--cc=qiwu.chen@transsion.com \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox