summaryrefslogtreecommitdiffstats
path: root/mm/swap.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2021-04-27 22:37:09 +0200
committerMatthew Wilcox (Oracle) <willy@infradead.org>2021-10-18 13:49:40 +0200
commit9bf70167e3c61473b95f40771decc3778bf0fb9f (patch)
tree8bd91ec6eeb58a0d896ed87193fab73626601a0d /mm/swap.c
parentmm/filemap: Add folio_mkwrite_check_truncate() (diff)
downloadlinux-9bf70167e3c61473b95f40771decc3778bf0fb9f.tar.xz
linux-9bf70167e3c61473b95f40771decc3778bf0fb9f.zip
mm/filemap: Add readahead_folio()
The pointers stored in the page cache are folios, by definition. This change comes with a behaviour change -- callers of readahead_folio() are no longer required to put the page reference themselves. This matches how readpage works, rather than matching how readpages used to work. 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/swap.c')
0 files changed, 0 insertions, 0 deletions