summaryrefslogtreecommitdiffstats
path: root/mm/folio-compat.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2020-12-15 23:11:07 -0500
committerMatthew Wilcox (Oracle) <willy@infradead.org>2021-10-18 07:49:40 -0400
commitbb3c579e25e5757bc5bac1333f4a56dfebf7cb91 (patch)
tree1a20d81732d86e00c385fc709e8fd87465144e08 /mm/folio-compat.c
parentcc09cb134124a42fbe3bdcebefdc54e286d8f3e5 (diff)
downloadlinux-bb3c579e25e5757bc5bac1333f4a56dfebf7cb91.tar.gz
linux-bb3c579e25e5757bc5bac1333f4a56dfebf7cb91.tar.bz2
linux-bb3c579e25e5757bc5bac1333f4a56dfebf7cb91.zip
mm/filemap: Add filemap_alloc_folio
Reimplement __page_cache_alloc as a wrapper around filemap_alloc_folio to allow filesystems to be converted at our leisure. Increases kernel text size by 133 bytes, mostly in cachefiles_read_backing_file(). pagecache_get_page() shrinks by 32 bytes, though. 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/folio-compat.c')
0 files changed, 0 insertions, 0 deletions