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

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


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

  Changed paths:
    M mem/f_malloc.c

  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