]> git.baikalelectronics.ru Git - kernel.git/commit
mm/swap: convert add_to_swap_cache() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 2 Sep 2022 19:46:08 +0000 (20:46 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:02:46 +0000 (14:02 -0700)
commitbde52b6ceea804e7dedf2cdd55a9964ddba6ab56
tree98d57d0a5695396283ce40faefbaf97626d59115
parent5924f917cd45c5163b3570f6553f5eb57517a4ba
mm/swap: convert add_to_swap_cache() to take a folio

With all callers using folios, we can convert add_to_swap_cache() to take
a folio and use it throughout.

Link: https://lkml.kernel.org/r/20220902194653.1739778-13-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/shmem.c
mm/swap.h
mm/swap_state.c