mbox series

[v2,0/3] cleanup maple_alloc related functions

Message ID 20241015120746.15850-1-richard.weiyang@gmail.com (mailing list archive)
Headers show
Series cleanup maple_alloc related functions | expand

Message

Wei Yang Oct. 15, 2024, 12:07 p.m. UTC
Patch 1/2: some fields of the maple_alloc is not necessary to change, so we                                                                                                                                  
           can skip some operations                                                                                                                                                                          
Patch 3: a valid alloc check could be hide in current code, so we don't need                                                                                                                                 
         to do a separate check

v2: refine the change log of patch 3.

Wei Yang (3):
  maple_tree: clear request_count for new allocated one
  maple_tree: total is not changed for nomem_one case
  maple_tree: simplify mas_push_node()

 lib/maple_tree.c | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)