lkml.org 
[lkml]   [2020]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] clean up some functions in mm/swap_slots.c
Date
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


\
 
 \ /
  Last update: 2020-04-30 08:15    [W:0.197 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site