[OpenSIPS-Devel] [OpenSIPS/opensips] 9bd6b9: HP_MALLOC: Fix the memory warming feature

Liviu Chircu noreply at github.com
Tue Jan 14 12:39:03 EST 2020


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9bd6b979ccb983cc78f9ee8a7f0ddb4d40c6dc24
      https://github.com/OpenSIPS/opensips/commit/9bd6b979ccb983cc78f9ee8a7f0ddb4d40c6dc24
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M mem/hp_malloc.c

  Log Message:
  -----------
  HP_MALLOC: Fix the memory warming feature

As some initial SHM allocations are done, the large chunk of memory
tends to move towards the end of the list, so we must properly locate it
before we are able to chop it up.

Fixes #1638

(cherry picked from commit 368e3699e60365c09902ceb26ba0251be9864a85)


  Commit: ef46f6e9f5c3f9b798aaeba1617b3ae3a7b5373a
      https://github.com/OpenSIPS/opensips/commit/ef46f6e9f5c3f9b798aaeba1617b3ae3a7b5373a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M mem/hp_malloc.c
    M mem/shm_mem.c

  Log Message:
  -----------
  HP_MALLOC memory warming: Also work with HP_MALLOC_DBG

(cherry picked from commit 0617b35e9377dbfe590504d44b66b7fd24c487f0)


  Commit: 13523638d2d1e067a9b0a49385737a99e93286fa
      https://github.com/OpenSIPS/opensips/commit/13523638d2d1e067a9b0a49385737a99e93286fa
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M mem/rpm_mem.h

  Log Message:
  -----------
  MI mem_rpm_dump:  Do not crash if RPM mem is disabled

(cherry picked from commit b5a533f4e34fe36fddea5de98fcef0010c49704e)


Compare: https://github.com/OpenSIPS/opensips/compare/9f6e75bd3fee...13523638d2d1



More information about the Devel mailing list