Module: kamailio
Branch: master
Commit: ec97e6f9f39c707530551d1ea27a3e17439c2e6c
URL:
https://github.com/kamailio/kamailio/commit/ec97e6f9f39c707530551d1ea27a3e1…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-12-26T21:33:37+01:00
Makefile: remove obselete USE_SHM_MEM #define from Makefile
- remove obselete USE_SHM_MEM #define from Makefile, no code uses this anymore
- this could be used a long time ago to map all PKG memory to SHM memory
---
Modified: src/Makefile.defs
---
Diff:
https://github.com/kamailio/kamailio/commit/ec97e6f9f39c707530551d1ea27a3e1…
Patch:
https://github.com/kamailio/kamailio/commit/ec97e6f9f39c707530551d1ea27a3e1…
---
diff --git a/src/Makefile.defs b/src/Makefile.defs
index 09260d1cbd..62708d93a9 100644
--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -518,10 +518,7 @@ data_target = $(prefix)/$(data_dir)
# -DSHM_MMAP
# use mmap instead of SYSV shared memory
# -DPKG_MALLOC
-# uses a faster malloc (exclusive w/ USE_SHM_MEM)
-# -DUSE_SHM_MEM
-# all pkg_malloc => shm_malloc (most mallocs use a common sh.
-# mem. segment); don't define PKG_MALLOC if you want this!
+# uses a faster malloc
# -DDBG_QM_MALLOC
# qm_malloc debug code, will cause pkg_malloc and shm_malloc
# to keep and display lot of debuging information: file name,
@@ -681,7 +678,6 @@ C_DEFS+= -DSHM_MMAP \
#-DVQ_MALLOC \
#-DDBG_LOCK \
#-DNOSMP \
- #-DUSE_SHM_MEM \
#-DSTATS \
#-DNO_LOG \
#-DPROFILING \