mbox series

[0/5] Cleanups for swap

Message ID 20210518135352.3705306-1-linmiaohe@huawei.com (mailing list archive)
Headers show
Series Cleanups for swap | expand

Message

Miaohe Lin May 18, 2021, 1:53 p.m. UTC
Hi all,
This series contains just cleanups to remove some unused variables, delete
meaningless forward declarations and so on. More details can be found in
the respective changelogs. Thanks!

Miaohe Lin (5):
  mm/swapfile: move get_swap_page_of_type() under CONFIG_HIBERNATION
  mm/swap: remove unused local variable nr_shadows
  mm/swap_slots.c: delete meaningless forward declarations
  mm/swap: remove unused global variable nr_swapper_spaces
  mm/swap: simplify the code of find_get_incore_page()

 mm/swap_slots.c |  2 --
 mm/swap_state.c | 15 +++------------
 mm/swapfile.c   | 48 ++++++++++++++++++++++++------------------------
 3 files changed, 27 insertions(+), 38 deletions(-)