Re: [PATCH v3 1/2] maple_tree: fix maple_range_64 crashes in RCU mode

From: Florian Schmaus

Date: Fri Oct 23 2026 - 10:21:39 EST


On Mon, 05 Oct 2026 12:47:27 +0000, Dimitris Charisis <dchar@xxxxxxxxxxxxxxxxx> wrote:
> This commit fixes two issues in maple_range_64 nodes under RCU mode. A
> maple_range_64 node repurposes its last slot to hold metadata whenever
> the node is not full. Both issues arise from mishandling that last slot.
>
> More specifically the two fixes are:
>
> 1. Remove mt_clear_meta() function. mt_clear_meta() decides whether the
> last slot of a maple_range_64 node holds a child pointer or a
> struct maple_metadata with the check
>
> [...]

Reviewed-by: Florian Schmaus <florian.schmaus@xxxxxxxxxxx>

--
Florian Schmaus <florian.schmaus@xxxxxxxxxxx>