[OpenSIPS-Devel] [OpenSIPS/opensips] 9349a0: OPS-6: Add new "allocator" cmdline options (-a, -k...

Liviu Chircu noreply at github.com
Fri Mar 15 12:47:20 EDT 2019

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

  Changed paths:
    M main.c
    M mem/common.c
    M mem/common.h
    M mem/mem.c
    M mem/mem.h
    M mem/shm_mem.c
    M mem/shm_mem.h

  Log Message:
  OPS-6: Add new "allocator" cmdline options (-a, -k, -s)

    * -a, sets the global allocator
    * -k, sets the PKG allocator, overrides -a
    * -s, sets the SHM allocator, overrides -a

The maximally supported set of string values for each of these options:
    * F_MALLOC
    * Q_MALLOC
            (case-insensitive matching)

Now, depending whether OpenSIPS was compiled in a more optimized manner,
with less allocators, some of these values MAY not be available, case in
which appropriate error logs will be printed at startup.

More information about the Devel mailing list