mm/vmscan: Convert pageout() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 18 Jan 2022 04:35:57 +0000 (23:35 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 17:01:35 +0000 (13:01 -0400)
commite0cd5e7ffa549487cf1a85452f371274cbf0a8f1
treec4dd99e6ea3454643c8d562cf53d8a19d1cd66d8
parentd92013d1e5e47fefd02be6920f8470b95b37ce7d
mm/vmscan: Convert pageout() to take a folio

We always write out an entire folio at once.  This conversion removes
a few calls to compound_head() and gets the NR_VMSCAN_WRITE statistic
right when writing out a large folio.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
include/trace/events/vmscan.h
mm/vmscan.c