mbox series

[0/3] clean up some functions in mm/swap_slots.c

Message ID 20200430061143.450-1-thunder.leizhen@huawei.com (mailing list archive)
Headers show
Series clean up some functions in mm/swap_slots.c | expand

Message

Leizhen (ThunderTown) April 30, 2020, 6:11 a.m. UTC
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(-)

Comments

Leizhen (ThunderTown) July 8, 2020, 9:27 a.m. UTC | #1
Hi, all:
  Are these patches acceptable?
  All these three patches are "Acked-by: Tim Chen <tim.c.chen@linux.intel.com>" two months ago.

On 2020/4/30 14:11, Zhen Lei wrote:
> 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(-)
>