linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] Clean up and refinement for maple tree
@ 2022-12-20 14:08 Vernon Yang
  2022-12-20 15:19 ` Liam Howlett
  0 siblings, 1 reply; 3+ messages in thread
From: Vernon Yang @ 2022-12-20 14:08 UTC (permalink / raw)
  To: Liam.Howlett, akpm; +Cc: linux-mm, linux-kernel, Vernon Yang

Hello,

This patchset clean up and refinement some maple tree code, a few small
changes make the code easier to understand and for better readability.

Vernon Yang (8):
  maple_tree: remove extra space and blank line
  maple_tree: remove extra return statement
  maple_tree: use mt_node_max() instead of direct operations mt_max[]
  maple_tree: use macro MA_ROOT_PARENT instead of number
  maple_tree: remove the redundant code
  maple_tree: change return type of mas_commit_b_node()
  maple_tree: refine ma_state init from mas_start()
  maple_tree: refine mab_calc_split function

 include/linux/maple_tree.h |  6 ------
 lib/maple_tree.c           | 41 ++++++++++++++------------------------
 2 files changed, 15 insertions(+), 32 deletions(-)

--
2.34.1



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

end of thread, other threads:[~2022-12-21  5:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-20 14:08 [PATCH 0/8] Clean up and refinement for maple tree Vernon Yang
2022-12-20 15:19 ` Liam Howlett
2022-12-21  5:03   ` Vernon Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox