maple_tree-refine-mab_calc_split-function.patch removed from -mm tree
The quilt patch titled
Subject: maple_tree: refine mab_calc_split function
has been removed from the -mm tree. Its filename was
maple_tree-refine-mab_calc_split-function.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: Vernon Yang <[email protected]>
Subject: maple_tree: refine mab_calc_split function
Date: Wed, 21 Dec 2022 14:00:58 +0800
Invert the conditional judgment of the mid_split, to focus the return statement in the last statement, which is easier to understand and for better readability.
---
lib/maple_tree.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
lib/maple_tree.c renamed from lib/maple_tree.c~maple_tree-refine-mab_calc_split-function +2 -3
@@ -1882,10 +1882,9 @@ static inline int mab_calc_split(struct/* Avoid ending a node on a NULL entry */ split =mab_no_null_split (bn, split, slot_count); -if (!(*mid_split)) -return split; - *mid_split =mab_no_null_split (bn, *mid_split, slot_count); +if (unlikely (*mid_split)) + *mid_split =mab_no_null_split (bn, *mid_split, slot_count);return split; }
_
Patches currently in -mm which might be from [email protected] are
maple_tree-remove-the-parameter-entry-of-mas_preallocate.patch mm-mmap-fix-typo-in-comment.patch maple_tree-fix-comment-of-mte_destroy_walk.patch mm-mmap-fix-comment-of-unmapped_area_topdown.patch