From 67598073dd9e62631c03d605b239ed635d2ae5e8 Mon Sep 17 00:00:00 2001 From: "Liam R. Howlett" Date: Wed, 20 Oct 2021 13:03:06 -0400 Subject: [PATCH] mas_node_store() unlikely\n Signed-off-by: Liam R. Howlett --- lib/maple_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 6e202bf6f08f..1f28da90f57c 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -3918,7 +3918,7 @@ static inline bool mas_node_store(struct ma_state *mas, void *entry, offset_end++; } else if (mas->last < max) { /* new range ends in this range */ - if (max == ULONG_MAX) + if (unlikely(max == ULONG_MAX)) mas_bulk_rebalance(mas, end, mt); new_end++; -- 2.50.1