[PATCH 0/3] Fix MA_STATE_PREALLOC issue

Liam R. Howlett posted 3 patches 3 months, 3 weeks ago
lib/maple_tree.c                 |  4 +++-
tools/testing/radix-tree/maple.c | 19 ++++++++++++++++---
2 files changed, 19 insertions(+), 4 deletions(-)
[PATCH 0/3] Fix MA_STATE_PREALLOC issue
Posted by Liam R. Howlett 3 months, 3 weeks ago
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
Re: [PATCH 0/3] Fix MA_STATE_PREALLOC issue
Posted by Andrew Morton 3 months, 3 weeks ago
On Mon, 16 Jun 2025 14:45:18 -0400 "Liam R. Howlett" <Liam.Howlett@oracle.com> wrote:

> 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.

I split this series into

- a standalone fix for 6.16-rcX and -stable.

- two standalone selftests patches for 6.17-rc1.

Is that OK?
Re: [PATCH 0/3] Fix MA_STATE_PREALLOC issue
Posted by Liam R. Howlett 3 months, 2 weeks ago
* Andrew Morton <akpm@linux-foundation.org> [250616 19:24]:
> On Mon, 16 Jun 2025 14:45:18 -0400 "Liam R. Howlett" <Liam.Howlett@oracle.com> wrote:
> 
> > 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.
> 
> I split this series into
> 
> - a standalone fix for 6.16-rcX and -stable.
> 
> - two standalone selftests patches for 6.17-rc1.
> 
> Is that OK?


Yes, should be fine.

Thanks for checking.
Liam