mm: Convert delete_from_swap_cache to XArray
commit4e17ec250fce0eba9b70a91c9622da2748a3ec50
authorMatthew Wilcox <willy@infradead.org>
Wed, 29 Nov 2017 13:32:39 +0000 (29 08:32 -0500)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:46:37 +0000 (21 10:46 -0400)
tree20e5811ad93f57e28afc506dcba223227866ee73
parent8d93b41c09d1b74f376e3b9779eb3badeb550301
mm: Convert delete_from_swap_cache to XArray

Both callers of __delete_from_swap_cache have the swp_entry_t already,
so pass that in to make constructing the XA_STATE easier.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
include/linux/swap.h
mm/swap_state.c
mm/vmscan.c