Skip to contentSkip to conversation

maple_tree-change-initial-big-node-setup-in-mas_wr_spanning_rebalance.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Mar 24

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: maple_tree: change initial big node setup in mas_wr_spanning_rebalance()
has been removed from the -mm tree. Its filename was
maple_tree-change-initial-big-node-setup-in-mas_wr_spanning_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: change initial big node setup in mas_wr_spanning_rebalance()
Date: Fri, 30 Jan 2026 15:59:19 -0500

Instead of copying the data into the big node and finding out that the data may need to be moved or appended to, calculate the data space up front (in the maple copy node) and set up another source for the copy.

The additional copy source is tracked in the maple state sib (short for sibling), and is put into the maple write states for future operations after the data is in the big node.

To facilitate the newly moved node, some initial setup of the maple subtree state are relocated after the potential shift caused by the new way of rebalancing against a sibling.

Cc Alice Ryhl <[email protected]>
Cc Andrew Ballance <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Christian Kujau <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Kuninori Morimoto <[email protected]>
Cc Matthew Wilcox (Oracle) <[email protected]>
Cc SeongJae Park <[email protected]>
Cc Sidhartha Kumar <[email protected]>
Cc Suren Baghdasaryan <[email protected]>
Cc Vlastimil Babka <[email protected]>

---

 include/linux/maple_tree.h |    1 
 lib/maple_tree.c           |  175 ++++++++++++++++++++++++++++++-----
 2 files changed, 153 insertions(+), 23 deletions(-)
include/linux/maple_tree.h renamed from include/linux/maple_tree.h~maple_tree-change-initial-big-node-setup-in-mas_wr_spanning_rebalance +1 -0
@@ -177,6 +177,7 @@ struct maple_copy {
 
 	/*Avoid passing these around */
 	unsigned char s_count;
+	unsigned char data;
 };
 
 /**
lib/maple_tree.c renamed from lib/maple_tree.c~maple_tree-change-initial-big-node-setup-in-mas_wr_spanning_rebalance +152 -23

224 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are