diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-03-08 17:45:35 +0100 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-10-18 13:49:40 +0200 |
commit | 3f0c6a07fee6a1c2618a2e12ffb8e9aa24384fde (patch) | |
tree | 7f0d6aa86b8d046fb902a272c48c8e8dc5c78272 /arch/x86/kvm/vmx/evmcs.c | |
parent | mm/filemap: Convert mapping_get_entry to return a folio (diff) | |
download | linux-3f0c6a07fee6a1c2618a2e12ffb8e9aa24384fde.tar.xz linux-3f0c6a07fee6a1c2618a2e12ffb8e9aa24384fde.zip |
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 'arch/x86/kvm/vmx/evmcs.c')
0 files changed, 0 insertions, 0 deletions