[PATCH 0/4] cleanup maple_alloc related functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Patch 4: found on rare case where allocation would fail even has enough
         memory

Wei Yang (4):
  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()
  maple_tree: fix potential allocation failure even has memory

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

-- 
2.34.1





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux