summaryrefslogtreecommitdiff
path: root/include/linux/mm.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2021-03-08 11:45:35 -0500
committerMatthew Wilcox (Oracle) <willy@infradead.org>2021-08-15 23:01:41 -0400
commitee189fe13a6b745cbdde84dad2cf472d85f8bb53 (patch)
tree51f7ad4d89701cae9b4e5906e8332c84eb6b2a51 /include/linux/mm.h
parent3b80d2aceaaa6e7452501561c13abd51374b337d (diff)
mm/filemap: Add filemap_get_folio
filemap_get_folio() is a replacement for find_get_page(). Turn pagecache_get_page() into a wrapper around __filemap_get_folio(). Remove find_lock_head() as this use case is now covered by filemap_get_folio(). Reduces overall kernel size by 209 bytes. __filemap_get_folio() is 316 bytes shorter than pagecache_get_page() was, but the new pagecache_get_page() wrapper is 99 bytes. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: David Howells <dhowells@redhat.com> Acked-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'include/linux/mm.h')
0 files changed, 0 insertions, 0 deletions