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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Vlad Pătrașcu
  Branch: refs/heads/feature/selectable-allocator
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4adb1bb5035b422de95dbf587890b9b75efb61ba
      https://github.com/OpenSIPS/opensips/commit/4adb1bb5035b422de95dbf587890b9b75efb61ba
  Author: Liviu Chircu <[hidden email]>
  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 <[hidden email]>
  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

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel