Skip to content

Clean up and refinement for maple tree

Vernon Yang linux-mm lkml 2 versions – Applied

Status from this message: [merged mm-stable] maple_tree-refine-mab_calc_split-function.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 1 replyApplied 7/7
  2. v18 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Add Reviewed-by Liam R. Howlett to all patches besides 6 & 8.
- Remove patch 6.
- Add an unlikely() to the if statement for patch 8.

Patches in v2 All 7 applied

#Subject and filesSizeRepliesApplied
1/7maple_tree: remove extra space and blank lineinclude/linux/maple_tree.h lib/maple_tree.c+4 -120 repliesApplied
2/7maple_tree: remove extra return statementlib/maple_tree.c+0 -30 repliesApplied
3/7maple_tree: use mt_node_max() instead of direct operations mt_max[]lib/maple_tree.c+2 -20 repliesApplied
4/7maple_tree: use macro MA_ROOT_PARENT instead of numberlib/maple_tree.c+1 -20 repliesApplied
5/7maple_tree: remove the redundant codeinclude/linux/maple_tree.h+0 -40 repliesApplied
6/7maple_tree: refine ma_state init from mas_start()lib/maple_tree.c+3 -30 repliesApplied
7/7maple_tree: refine mab_calc_split functionlib/maple_tree.c+2 -30 repliesApplied

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLiam R. Howlett
SeriesR-b
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] Clean up and refinement for maple tree

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.

v2 changes:
- Add Reviewed-by Liam R. Howlett to all patches besides 6 & 8.
- Remove patch 6.
- Add an unlikely() to the if statement for patch 8.

v1: https://lore.kernel.org/linux-mm/[email protected]/

Vernon Yang (7):
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: refine ma_state init from mas_start()
maple_tree: refine mab_calc_split function

 include/linux/maple_tree.h |  6 ------
 lib/maple_tree.c           | 35 ++++++++++++-----------------------
 2 files changed, 12 insertions(+), 29 deletions(-)

--
2.34.1