[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200430061143.450-1-thunder.leizhen@huawei.com>
Date: Thu, 30 Apr 2020 14:11:40 +0800
From: Zhen Lei <thunder.leizhen@...wei.com>
To: Tim Chen <tim.c.chen@...ux.intel.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-mm <linux-mm@...ck.org>,
linux-kernel <linux-kernel@...r.kernel.org>
CC: Zhen Lei <thunder.leizhen@...wei.com>
Subject: [PATCH 0/3] clean up some functions in mm/swap_slots.c
When I studied the code of mm/swap_slots.c, I found some places can be improved.
Zhen Lei (3):
mm/swap: simplify alloc_swap_slot_cache()
mm/swap: simplify enable_swap_slots_cache()
mm/swap: remove redundant check for swap_slot_cache_initialized
mm/swap_slots.c | 45 +++++++++++++++++++++------------------------
1 file changed, 21 insertions(+), 24 deletions(-)
--
2.26.0.106.g9fadedd
Powered by blists - more mailing lists