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

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


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 057468a5e23c8428859bbc7dc7028f424fe064db
      https://github.com/OpenSIPS/opensips/commit/057468a5e23c8428859bbc7dc7028f424fe064db
  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)





More information about the Devel mailing list