diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-12-13 22:58:42 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-29 20:58:32 +0100 |
commit | a4575c4138db887bd27dc7f87cf7cfb0224c6f5e (patch) | |
tree | caf1b69628705d083bb756e7d00f94e6be1d1624 /sound | |
parent | mm: return a folio from read_swap_cache_async() (diff) | |
download | linux-a4575c4138db887bd27dc7f87cf7cfb0224c6f5e.tar.xz linux-a4575c4138db887bd27dc7f87cf7cfb0224c6f5e.zip |
mm: convert swap_cluster_readahead and swap_vma_readahead to return a folio
shmem_swapin_cluster() immediately converts the page back to a folio, and
swapin_readahead() may as well call folio_file_page() once instead of
having each function call it.
[willy@infradead.org: avoid NULL pointer deref]
Link: https://lkml.kernel.org/r/ZYI7OcVlM1voKfBl@casper.infradead.org
Link: https://lkml.kernel.org/r/20231213215842.671461-14-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions