filemap: Convert tracing of page cache operations to folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 23 Jul 2021 13:29:46 +0000 (09:29 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 4 Jan 2022 18:15:33 +0000 (13:15 -0500)
commita0580c6f9babaf4413c8a7e2ab21d68e31f4c754
tree64886aa66f24e54c8916cbd665811368c23e8395
parent621db4880d305bc37b343b1671e03b7eb5d61389
filemap: Convert tracing of page cache operations to folio

Pass the folio instead of a page.  The page was already implicitly a
folio as it accessed page->mapping directly.  Add the order of the folio
to the tracepoint, as this is important information.  Also drop printing
the address of the struct page as the pfn provides better information
than the struct page address.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
include/trace/events/filemap.h
mm/filemap.c