linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] clean up some functions in mm/swap_slots.c
@ 2020-04-30  6:11 Zhen Lei
  2020-04-30  6:11 ` [PATCH 1/3] mm/swap: simplify alloc_swap_slot_cache() Zhen Lei
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Zhen Lei @ 2020-04-30  6:11 UTC (permalink / raw)
  To: Tim Chen, Andrew Morton, linux-mm, linux-kernel; +Cc: Zhen Lei

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-07-08  9:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30  6:11 [PATCH 0/3] clean up some functions in mm/swap_slots.c Zhen Lei
2020-04-30  6:11 ` [PATCH 1/3] mm/swap: simplify alloc_swap_slot_cache() Zhen Lei
2020-05-01 21:46   ` Tim Chen
2020-04-30  6:11 ` [PATCH 2/3] mm/swap: simplify enable_swap_slots_cache() Zhen Lei
2020-05-01 21:59   ` Tim Chen
2020-04-30  6:11 ` [PATCH 3/3] mm/swap: remove redundant check for swap_slot_cache_initialized Zhen Lei
2020-05-01 22:35   ` Tim Chen
2020-07-08  9:27 ` [PATCH 0/3] clean up some functions in mm/swap_slots.c Leizhen (ThunderTown)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).