linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Following cleanup after introduce mas_wr_store_type()
@ 2024-10-17  1:58 Wei Yang
  2024-10-17  1:58 ` [PATCH v2 1/2] maple_tree: calculate new_end when needed Wei Yang
  2024-10-17  1:58 ` [PATCH v2 2/2] maple_tree: remove sanity check from mas_wr_slot_store() Wei Yang
  0 siblings, 2 replies; 4+ messages in thread
From: Wei Yang @ 2024-10-17  1:58 UTC (permalink / raw)
  To: Liam.Howlett, akpm; +Cc: maple-tree, linux-mm, Wei Yang

Here is two cleanup after introduction of mas_wr_store_type().                                                                                                                                                
                                                                                                                                                                                                              
Patch 1 postpone new_end calculation when needed.                                                                                                                                                             
                                                                                                                                                                                                              
Patch 2 remove a unnecessary sanity check in mas_wr_slot_store().

v2: add a WARN_ON_ONCE() as suggested by Liam in patch 2

Wei Yang (2):
  maple_tree: calculate new_end when needed
  maple_tree: remove sanity check from mas_wr_slot_store()

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

-- 
2.34.1



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

end of thread, other threads:[~2024-10-17  2:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-17  1:58 [PATCH v2 0/2] Following cleanup after introduce mas_wr_store_type() Wei Yang
2024-10-17  1:58 ` [PATCH v2 1/2] maple_tree: calculate new_end when needed Wei Yang
2024-10-17  1:58 ` [PATCH v2 2/2] maple_tree: remove sanity check from mas_wr_slot_store() Wei Yang
2024-10-17  2:04   ` 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