All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged mm-stable] maple_tree-index-has-been-checked-to-be-smaller-than-pivot.patch removed from -mm tree
@ 2025-01-14  6:42 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-01-14  6:42 UTC (permalink / raw)
  To: mm-commits, sidhartha.kumar, lorenzo.stoakes, Liam.Howlett,
	richard.weiyang, akpm


The quilt patch titled
     Subject: maple_tree: index has been checked to be smaller than pivot
has been removed from the -mm tree.  Its filename was
     maple_tree-index-has-been-checked-to-be-smaller-than-pivot.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: Wei Yang <richard.weiyang@gmail.com>
Subject: maple_tree: index has been checked to be smaller than pivot
Date: Sat, 16 Nov 2024 01:48:03 +0000

Patch series "mas_anode_descend() related cleanup".

Some cleanup related to mas_anode_descend().


This patch (of 3):

At the beginning of loop, it has checked the range is in lower bounds.

Link: https://lkml.kernel.org/r/20241116014805.11547-1-richard.weiyang@gmail.com
Link: https://lkml.kernel.org/r/20241116014805.11547-2-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 lib/maple_tree.c |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

--- a/lib/maple_tree.c~maple_tree-index-has-been-checked-to-be-smaller-than-pivot
+++ a/lib/maple_tree.c
@@ -4882,13 +4882,12 @@ static inline bool mas_anode_descend(str
 				found = true;
 				goto done;
 			}
-			if (mas->index <= pivot) {
-				mas->node = mas_slot(mas, slots, offset);
-				mas->min = min;
-				mas->max = pivot;
-				offset = 0;
-				break;
-			}
+
+			mas->node = mas_slot(mas, slots, offset);
+			mas->min = min;
+			mas->max = pivot;
+			offset = 0;
+			break;
 		}
 next_slot:
 		min = pivot + 1;
_

Patches currently in -mm which might be from richard.weiyang@gmail.com are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-14  6:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-14  6:42 [merged mm-stable] maple_tree-index-has-been-checked-to-be-smaller-than-pivot.patch removed from -mm tree Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.