Skip to contentSkip to conversation

maple_tree-use-prefetched-value-in-mas_wr_store_type.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Aug 25

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: maple_tree: use prefetched value in mas_wr_store_type()
has been removed from the -mm tree. Its filename was
maple_tree-use-prefetched-value-in-mas_wr_store_type.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 (Oracle)" <[email protected]>
Subject: maple_tree: use prefetched value in mas_wr_store_type()
Date: Fri, 21 Aug 2026 15:26:16 -0400

The slot contents exist in wr_mas->content, which has less overhead than reading the slot again.

Cc Boqun Feng <[email protected]>
Cc Breno Leitao <[email protected]>
Cc Chris Mason <[email protected]>
Cc Chuck Lever <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Jason Gunthorpe <[email protected]>
Cc Joe Perches <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Rik van Riel <[email protected]>
Cc Waiman Long <[email protected]>
Cc Will Deacon <[email protected]>

---

 lib/maple_tree.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/maple_tree.c renamed from lib/maple_tree.c~maple_tree-use-prefetched-value-in-mas_wr_store_type +1 -1
@@ -3280,7 +3280,7 @@ static inline void mas_wr_slot_store(str
 	void __rcu **slots = wr_mas->slots;
 	bool gap = false;
 
-	gap |= !mt_slot_locked(mas->tree, slots, offset);
+	gap |= !wr_mas->content;
 	gap |= !mt_slot_locked(mas->tree, slots, offset + 1);
 
 	if (wr_mas->offset_end - offset == 1) {

_

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