diff options
author | 2021-04-27 10:37:50 -0400 | |
---|---|---|
committer | 2021-10-18 07:49:39 -0400 | |
commit | f2d273927ea49e2f85b660aeca26f58b8a15d385 (patch) | |
tree | 88cb7c4c38e7a0b47641aaeefb7447396274fb49 /mm/util.c | |
parent | mm: Add folio_young and folio_idle (diff) | |
download | wireguard-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