linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] mas_anode_descend() related cleanup
@ 2024-11-16  1:48 Wei Yang
  2024-11-16  1:48 ` [PATCH 1/3] maple_tree: index has been checked to be smaller than pivot Wei Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Wei Yang @ 2024-11-16  1:48 UTC (permalink / raw)
  To: akpm, Liam.Howlett; +Cc: maple-tree, linux-mm, Wei Yang

Some cleanup related to mas_anode_descend().

Patch 1: remove an unnecessary check
Patch 2: won't hit root node
Patch 3: on error we don't set offset to MAPLE_NODE_SLOTS

Wei Yang (3):
  maple_tree: index has been checked to be smaller than pivot
  maple_tree: not possible to be a root node after loop
  maple_tree: we don't set offset to MAPLE_NODE_SLOTS on error

 lib/maple_tree.c | 23 ++++++++---------------
 1 file changed, 8 insertions(+), 15 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-11-22 15:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-16  1:48 [PATCH 0/3] mas_anode_descend() related cleanup Wei Yang
2024-11-16  1:48 ` [PATCH 1/3] maple_tree: index has been checked to be smaller than pivot Wei Yang
2024-11-18 20:53   ` Liam R. Howlett
2024-11-16  1:48 ` [PATCH 2/3] maple_tree: not possible to be a root node after loop Wei Yang
2024-11-18 20:49   ` Liam R. Howlett
2024-11-19  2:10     ` Wei Yang
2024-11-19 14:12       ` Liam R. Howlett
2024-11-21  7:13         ` Wei Yang
2024-11-22 15:17           ` Liam R. Howlett
2024-11-16  1:48 ` [PATCH 3/3] maple_tree: we don't set offset to MAPLE_NODE_SLOTS on error Wei Yang
2024-11-18 20:50   ` Liam R. Howlett
2024-11-19  2:15     ` Wei Yang
2024-11-19 13:58       ` Liam R. Howlett
2024-11-21  7:15         ` Wei Yang
2024-11-22 15:18           ` Liam R. Howlett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox