Skip to content

maple_tree: current split may result in deficient node

Wei Yang linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4maple_tree: current split may result in deficient nodelib/maple_tree.c+2 -24 replies
2/4maple_tree: add a test check deficient nodelib/test_maple_tree.c+28 -00 replies
3/4maple_tree: use the correct min to calculate splitlib/maple_tree.c+1 -19 replies
4/4maple_tree: only root node could be deficientlib/maple_tree.c+1 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] maple_tree: current split may result in deficient node

Here are 4 patches related to correctly split node.

Patch 1: adjust the calculation of split
Patch 2: add a test case to check deficient split
Patch 3: the min value for mab_calc_split() seems not correct Patch 4: during validation, we skip right most node on each level

Wei Yang (4):
maple_tree: current split may result in deficient node
maple_tree: add a test check deficient node
maple_tree: use the correct min to calculate split
maple_tree: only root node could be deficient

 lib/maple_tree.c      |  8 ++++----
 lib/test_maple_tree.c | 28 ++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 4 deletions(-)
Signature · 1 line
2.34.1