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

Liviu Chircu noreply at github.com
Tue Jan 14 12:31:06 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 368e3699e60365c09902ceb26ba0251be9864a85
      https://github.com/OpenSIPS/opensips/commit/368e3699e60365c09902ceb26ba0251be9864a85
  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





More information about the Devel mailing list