aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/util.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2021-04-27 10:37:50 -0400
committerMatthew Wilcox (Oracle) <willy@infradead.org>2021-10-18 07:49:39 -0400
commitf2d273927ea49e2f85b660aeca26f58b8a15d385 (patch)
tree88cb7c4c38e7a0b47641aaeefb7447396274fb49 /mm/util.c
parentmm: Add folio_young and folio_idle (diff)
downloadwireguard-linux-f2d273927ea49e2f85b660aeca26f58b8a15d385.tar.xz
wireguard-linux-f2d273927ea49e2f85b660aeca26f58b8a15d385.zip
mm/swap: Add folio_activate()
This replaces activate_page() and eliminates lots of calls to compound_head(). Saves net 118 bytes of kernel text. There are still some redundant calls to page_folio() here which will be removed when pagevec_lru_move_fn() is converted to use folios. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Howells <dhowells@redhat.com> Acked-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions