[PATCH 0/3] Fix MA_STATE_PREALLOC issue

From: Liam R. Howlett
Date: Mon Jun 16 2025 - 14:46:36 EST


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