Skip to content

Fix mas_alloc_cyclic retry

Liam R. Howlett linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review 1 of 2 applied

Patches in v1 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2maple_tree: Fix mas_alloc_cyclic() second searchlib/maple_tree.c+1 -21 reply
2/2test_maple_tree: Test exhausted upper limit of mtree_alloc_cyclic()lib/test_maple_tree.c+28 -01 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchYang Erkun
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] Fix mas_alloc_cyclic retry

This is a follow-up patch and test for Yang Erkun. lore seems to have eaten the original email [1], so I'll add akpm's link as well [2].

Patch 1 applies on top of Yang Erkun's fix, so feel free to squash it in.

Patch 2 adds a test to the maple tree infrastructure that will catch the issue if it comes back.

[1] https://lore.kernel.org/all/[email protected]/T/#u
[2] https://lore.kernel.org/all/[email protected]/

Liam R. Howlett (2):
maple_tree: Fix mas_alloc_cyclic() second search
test_maple_tree: Test exhausted upper limit of mtree_alloc_cyclic()

 lib/maple_tree.c      |  3 +--
 lib/test_maple_tree.c | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 2 deletions(-)
Signature · 1 line
2.43.0