Thread (3 messages) 3 messages, 3 authors, 15d ago

Re: [PATCH v3] mm: vmscan: rework lru_shrink and write_folio tracepoints

From: Matthew Wilcox <willy@infradead.org>
Date: 2026-09-14 13:12:16
Also in: linux-mm

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help