diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-04-27 22:37:09 +0200 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-10-18 13:49:40 +0200 |
commit | 9bf70167e3c61473b95f40771decc3778bf0fb9f (patch) | |
tree | 8bd91ec6eeb58a0d896ed87193fab73626601a0d /mm/swap_state.c | |
parent | mm/filemap: Add folio_mkwrite_check_truncate() (diff) | |
download | linux-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_state.c')
0 files changed, 0 insertions, 0 deletions