mm: remove page_swap_info()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 13 Dec 2023 21:58:40 +0000 (21:58 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 Dec 2023 19:58:32 +0000 (11:58 -0800)
commit69fe7d67cb0c6eeab3d4c9a3bf950f9d12af4719
treeda7d7b707c9d15184ebcb0fac73ed1500a3fce4e
parentc9bdf768dd9319d2d80a334646e2c8116af9e430
mm: remove page_swap_info()

It's more efficient to get the swap_info_struct by calling
swp_swap_info() directly.

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