]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: testing fix for spanning store on 32b
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 28 Aug 2025 00:30:23 +0000 (20:30 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 13 Sep 2025 23:55:26 +0000 (16:55 -0700)
commit103e90626d3a4032d22e8b09ff14600e71cda59c
treea0d6267016f0116a81702392879107c963d40cb2
parent82b5fe3059a52e1419521ac32703208d03bb15e9
maple_tree: testing fix for spanning store on 32b

32 bit nodes have a larger branching factor.  This affects the required
value to cause a height change.  Update the spanning store height test to
work for both 64 and 32 bit nodes.

Link: https://lkml.kernel.org/r/20250828003023.418966-3-Liam.Howlett@oracle.com
Fixes: f9d3a963fef4 ("maple_tree: use height and depth consistently")
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Reviewed-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/radix-tree/maple.c