linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] Clean up and refinement for maple tree
@ 2022-12-21  6:00 Vernon Yang
  2022-12-21  6:00 ` [PATCH v2 1/7] maple_tree: remove extra space and blank line Vernon Yang
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Vernon Yang @ 2022-12-21  6:00 UTC (permalink / raw)
  To: Liam.Howlett, akpm; +Cc: linux-mm, linux-kernel, maple-tree, 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.

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/20221220140829.1665432-1-vernon2gm@gmail.com/

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



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

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-21  6:00 [PATCH v2 0/7] Clean up and refinement for maple tree Vernon Yang
2022-12-21  6:00 ` [PATCH v2 1/7] maple_tree: remove extra space and blank line Vernon Yang
2022-12-21  6:00 ` [PATCH v2 2/7] maple_tree: remove extra return statement Vernon Yang
2022-12-21  6:00 ` [PATCH v2 3/7] maple_tree: use mt_node_max() instead of direct operations mt_max[] Vernon Yang
2022-12-21  6:00 ` [PATCH v2 4/7] maple_tree: use macro MA_ROOT_PARENT instead of number Vernon Yang
2022-12-21  6:00 ` [PATCH v2 5/7] maple_tree: remove the redundant code Vernon Yang
2022-12-21  6:00 ` [PATCH v2 6/7] maple_tree: refine ma_state init from mas_start() Vernon Yang
2022-12-21  6:00 ` [PATCH v2 7/7] maple_tree: refine mab_calc_split function Vernon Yang
2022-12-21 18:53 ` [PATCH v2 0/7] Clean up and refinement for maple tree Liam Howlett

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