summaryrefslogtreecommitdiff
path: root/lib/assoc_array.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-12-14 00:58:42 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-12-29 22:58:32 +0300
commita4575c4138db887bd27dc7f87cf7cfb0224c6f5e (patch)
treecaf1b69628705d083bb756e7d00f94e6be1d1624 /lib/assoc_array.c
parent6e03492e9d288d9ce886064289e2768da5d7d967 (diff)
downloadlinux-a4575c4138db887bd27dc7f87cf7cfb0224c6f5e.tar.xz
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 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions