]> git.baikalelectronics.ru Git - kernel.git/commit
mm: Convert delete_from_swap_cache to XArray
authorMatthew Wilcox <willy@infradead.org>
Wed, 29 Nov 2017 13:32:39 +0000 (08:32 -0500)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:46:37 +0000 (10:46 -0400)
commit419caec0b29972da6bd9399de61b3ea7c832dc66
tree20e5811ad93f57e28afc506dcba223227866ee73
parentf9a8c3a838419eb7f00b0ed7e78acbc3fab6e3a0
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