[OpenSIPS-Devel] [OpenSIPS/opensips] 22ca1a: hp malloc: fix the hash size macros
Liviu Chircu
liviu at opensips.org
Tue Mar 25 15:57:01 CET 2014
Branch: refs/heads/1.11
Home: https://github.com/OpenSIPS/opensips
Commit: 22ca1a66d4811c620d32a1058e95f605a57ebfb3
https://github.com/OpenSIPS/opensips/commit/22ca1a66d4811c620d32a1058e95f605a57ebfb3
Author: Liviu Chircu <liviu at opensips.org>
Date: 2014-03-25 (Tue, 25 Mar 2014)
Changed paths:
M mem/hp_malloc.c
M mem/hp_malloc.h
M mem/shm_mem.c
Log Message:
-----------
hp malloc: fix the hash size macros
* the old ones actually led to bad memory accesses within hp_malloc()
(cherry picked from commit faaca742a06d5a1e5f8925a1e95cfafcdd85c709)
Commit: eaea7ff2fb6c38c82a0580001416cea9686fb68f
https://github.com/OpenSIPS/opensips/commit/eaea7ff2fb6c38c82a0580001416cea9686fb68f
Author: Liviu Chircu <liviu at opensips.org>
Date: 2014-03-25 (Tue, 25 Mar 2014)
Changed paths:
M config.h
Log Message:
-----------
hp malloc: reduce the built-in maximum split factor
* dividing the list into too many smaller ones may actually hurt performance
* this also reduces the minimum pkg and shm consumption by 3.4MB when
enabling HP_MALLOC
(cherry picked from commit 7d302c18fbd6c4c4d7af64aeddb1e9c65b6c9fc3)
Compare: https://github.com/OpenSIPS/opensips/compare/4b90882cc890...eaea7ff2fb6c
More information about the Devel
mailing list