[PATCH 0/3] Fix MA_STATE_PREALLOC issue

Liam R. Howlett Liam.Howlett at oracle.com
Mon Jun 16 11:45:18 PDT 2025


Address the issue of reusing the same maple state for multiple
preallocations calls caused by MA_STATE_PREALLOC, and add a test for
this use case.

Included is a change to the testing code to reduce false positives in
the rcu race testing on faster machines.


Liam R. Howlett (3):
  testing/raix-tree/maple: Increase readers and reduce delay for faster
    machines
  maple_tree: Fix MA_STATE_PREALLOC flag in mas_preallocate()
  tools/testing/radix-tree: Test maple tree chaining mas_preallocate()
    calls

 lib/maple_tree.c                 |  4 +++-
 tools/testing/radix-tree/maple.c | 19 ++++++++++++++++---
 2 files changed, 19 insertions(+), 4 deletions(-)

-- 
2.47.2




More information about the maple-tree mailing list