maple_tree-adjust-node-allocation-on-mas_rebalance.patch removed from -mm tree
The quilt patch titled
Subject: maple_tree: adjust node allocation on mas_rebalance()
has been removed from the -mm tree. Its filename was
maple_tree-adjust-node-allocation-on-mas_rebalance.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "Liam R. Howlett" <[email protected]>
Subject: maple_tree: adjust node allocation on mas_rebalance()
Date: Mon, 24 Jul 2023 14:31:50 -0400
mas_rebalance() is called to rebalance an insufficient node into a single node or two sufficient nodes. The preallocation estimate is always too many in this case as the height of the tree will never grow and there is no possibility to have a three way split in this case, so revise the node allocation count.
---
lib/maple_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/maple_tree.c renamed from lib/maple_tree.c~maple_tree-adjust-node-allocation-on-mas_rebalance +1 -1
@@ -3136,7 +3136,7 @@ static inline int mas_rebalance(struct m* tries to combine the data in the same way. If one node contains the * entire range of the tree, then that node is used as a new root node. */ -mas_node_count (mas,1 + empty_count *3 ); +mas_node_count (mas, empty_count *2 -1 );if (mas_is_err (mas))return 0 ;
_
Patches currently in -mm which might be from [email protected] are
maple_tree-add-hex-output-to-maple_arange64-dump.patch maple_tree-reorder-replacement-of-nodes-to-avoid-live-lock.patch maple_tree-introduce-mas_put_in_tree.patch maple_tree-introduce-mas_tree_parent-definition.patch maple_tree-change-mas_adopt_children-parent-usage.patch maple_tree-replace-data-before-marking-dead-in-split-and-spanning-store.patch