linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] cleanup mast_split_data()
@ 2024-09-15  1:25 Wei Yang
  2024-09-15  1:25 ` [PATCH 1/2] maple_tree: the new max of left side subtree has been set Wei Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Wei Yang @ 2024-09-15  1:25 UTC (permalink / raw)
  To: akpm, Liam.Howlett; +Cc: maple-tree, linux-mm, Wei Yang

There are two possible redundant code:

1. the left subtree's mas is set in mab_mas_cp()
2. the right subtree's pivot 0 would be set again in mab_mas_cp()

We can remove them.

Wei Yang (2):
  maple_tree: the new max of left side subtree has been set
  maple_tree: not necessary to set pivot 0 before mab_mas_cp()

 lib/maple_tree.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.34.1



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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-15  1:25 [PATCH 0/2] cleanup mast_split_data() Wei Yang
2024-09-15  1:25 ` [PATCH 1/2] maple_tree: the new max of left side subtree has been set Wei Yang
2024-09-15  1:25 ` [PATCH 2/2] maple_tree: not necessary to set pivot 0 before mab_mas_cp() Wei Yang
2024-12-02 17:32 ` [PATCH 0/2] cleanup mast_split_data() Liam R. Howlett
2024-12-02 22:14   ` Wei Yang

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