[OpenSIPS-Devel] [OpenSIPS/opensips] 4adb1b: OPS-6: Better organize some SHM_EXTRA_STATS code

Liviu Chircu noreply at github.com
Fri Mar 15 11:12:25 EDT 2019


  Branch: refs/heads/feature/selectable-allocator
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4adb1bb5035b422de95dbf587890b9b75efb61ba
      https://github.com/OpenSIPS/opensips/commit/4adb1bb5035b422de95dbf587890b9b75efb61ba
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-03-15 (Fri, 15 Mar 2019)

  Changed paths:
    M mem/f_malloc.h
    M mem/q_malloc.h

  Log Message:
  -----------
  OPS-6: Better organize some SHM_EXTRA_STATS code


  Commit: 572f0df73ea9f70ee9fcb85206312a9be25c7a00
      https://github.com/OpenSIPS/opensips/commit/572f0df73ea9f70ee9fcb85206312a9be25c7a00
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-03-15 (Fri, 15 Mar 2019)

  Changed paths:
    M mem/f_malloc.c
    M mem/f_malloc.h
    M mem/f_malloc_dyn.h
    M mem/hp_malloc.c
    M mem/hp_malloc.h
    M mem/hp_malloc_dyn.h

  Log Message:
  -----------
  OPS-6: HP_MALLOC / F_MALLOC - remove redundant logic

There is no need for a separate frag->is_free field, as this task is
already achieved by the optimally managed frag->prev field in both
allocators.


Compare: https://github.com/OpenSIPS/opensips/compare/c7d02c0a7e1e...572f0df73ea9



More information about the Devel mailing list