]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/filemap: Add filemap_alloc_folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 16 Dec 2020 04:11:07 +0000 (23:11 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 16 Aug 2021 03:00:02 +0000 (23:00 -0400)
commitdabba1aba97f4df49e4d85ba1b2aa677ea7c121d
treee38decdf7213bbf31918bbd57d1cc386ba2d7588
parent70ef3684cea12e5154a6e6321e9a6a46083805d2
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>
include/linux/pagemap.h
mm/filemap.c