[OpenSIPS-Devel] [OpenSIPS/opensips] a37693: mem: improve f_malloc logging during defragmentation

Răzvan Crainea noreply at github.com
Mon Apr 5 10:09:08 EST 2021


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a37693b7e0ba5aabb41b34517a04d1ed9474b272
      https://github.com/OpenSIPS/opensips/commit/a37693b7e0ba5aabb41b34517a04d1ed9474b272
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2021-04-05 (Mon, 05 Apr 2021)

  Changed paths:
    M mem/f_malloc_dyn.h

  Log Message:
  -----------
  mem: improve f_malloc logging during defragmentation

Instead of triggering an ERROR before defragmenting, let the
defragmentation try to find a free frag, and only if it doesn't,
trigger the ERROR.
Thanks Liviu Chircu (@liviuc) for brainstorming

(cherry picked from commit fa027d00b419ffd10c5b52dd4577ad07ff601655)





More information about the Devel mailing list