[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210518135352.3705306-1-linmiaohe@huawei.com>
Date: Tue, 18 May 2021 21:53:47 +0800
From: Miaohe Lin <linmiaohe@...wei.com>
To: <akpm@...ux-foundation.org>
CC: <linux-kernel@...r.kernel.org>, <linux-mm@...ck.org>,
<linmiaohe@...wei.com>
Subject: [PATCH 0/5] Cleanups for swap
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(-)
--
2.23.0
Powered by blists - more mailing lists